performed code formatting
This commit is contained in:
1 parent
a224bba6b9
commit
8612521559
12 files changed
+275
-283
No files matched your search
@@ -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));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user