Dedimania small maintance

This commit is contained in:
kremsy 2017-05-24 10:25:42 +02:00
parent 2ea8e7cf1e
commit cb095b15c6
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,6 @@ if($devMode === "true"){
define('DEV_MODE', false); // Development mode to not send error reports etc.
}
if(DEV_MODE){
\ManiaControl\Logger::log('Starting ManiaControl with activated Development Mode...');
}else{

View File

@ -110,7 +110,9 @@ class DedimaniaWebHandler implements TimerListener {
if (!$serverInfo || !$playerInfo || !$mapInfo || !$gameMode) {
$data = array($this->dedimaniaData->sessionId, $mapInfo, $gameMode, $serverInfo, $playerInfo);
if(!$serverInfo){ // No Players
Logger::logError("Dedimania Records could not be fetched, debuginfo:" . json_encode($data));
}
return false;
}