This commit is contained in:
Alexander Nell
2020-04-21 18:33:45 +02:00
31 changed files with 125 additions and 153 deletions

View File

@ -462,9 +462,8 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener,
if (!$setting->setting != self::SETTING_UPDATECHECK_INTERVAL) {
return;
}
$updateInterval = $setting->value;
$this->maniaControl->getTimerManager()->updateTimerListening($this, 'hourlyUpdateCheck', 1000 * 60 * 60, $updateInterval);
$this->maniaControl->getTimerManager()->updateTimerListening($this, 'hourlyUpdateCheck', 1000 * 60 * 60);
}
/**