finished usage reporter

This commit is contained in:
kremsy 2014-02-08 16:45:55 +01:00 committed by Steffen Schröder
parent 8ced14af6c
commit b956230cda

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);