fixed usagereporter

This commit is contained in:
kremsy 2014-05-04 16:07:04 +02:00
parent 9115f7ff1f
commit 3b4f21d482

View File

@ -46,7 +46,7 @@ class UsageReporter implements TimerListener {
* @param float $time * @param float $time
*/ */
public function reportUsage($time) { public function reportUsage($time) {
if ($this->maniaControl->settingManager->getSetting($this, self::SETTING_REPORT_USAGE)) { if (!$this->maniaControl->settingManager->getSetting($this, self::SETTING_REPORT_USAGE)) {
return; return;
} }