finished usage reporter

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:14 +02:00
1 parent 8ced14af6c
commit b956230cda
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ class UsageReporter implements TimerListener {
*/
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
$this->maniaControl->timerManager->registerTimerListening($this, 'reportUsage', 1000 * 60 * self::UPDATE_MINUTE_COUNT);
$this->maniaControl->settingManager->initSetting($this, self::SETTING_DISABLE_USAGE_REPORTING, false);