performed code formatting

This commit is contained in:
Steffen Schröder committed 2014-08-25 15:33:22 +02:00
1 parent a224bba6b9
commit 8612521559
12 files changed
+275 -283

No files matched your search

+5 -5
View File
@@ -81,10 +81,10 @@ class UsageReporter implements TimerListener {
$url = ManiaControl::URL_WEBSERVICE . '/usagereport?info=' . urlencode($info);
$this->maniaControl->getFileReader()->loadFile($url, function ($response, $error) {
$response = json_decode($response);
if ($error || !$response) {
Logger::logError('Error while Sending data: ' . print_r($error, true));
}
});
$response = json_decode($response);
if ($error || !$response) {
Logger::logError('Error while Sending data: ' . print_r($error, true));
}
});
}
}