fixed number mismatch declerations

This commit is contained in:
kremsy 2020-04-21 17:44:41 +02:00
parent ffd46c3cdd
commit 06b3893a27
3 changed files with 4 additions and 7 deletions

View File

@ -107,7 +107,7 @@ class MapActions implements CommunicationListener, UsageInformationAble {
//TODO message //TODO message
// Force an EndMap on the MapQueue to set the next Map // Force an EndMap on the MapQueue to set the next Map
$this->maniaControl->getMapManager()->getMapQueue()->endMap(null); $this->maniaControl->getMapManager()->getMapQueue()->endMap();
// Ignore EndMap on MapQueue // Ignore EndMap on MapQueue
$this->maniaControl->getMapManager()->getMapQueue()->dontQueueNextMapChange(); $this->maniaControl->getMapManager()->getMapQueue()->dontQueueNextMapChange();

View File

@ -463,8 +463,7 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener,
return; return;
} }
$updateInterval = $setting->value; $this->maniaControl->getTimerManager()->updateTimerListening($this, 'hourlyUpdateCheck', 1000 * 60 * 60);
$this->maniaControl->getTimerManager()->updateTimerListening($this, 'hourlyUpdateCheck', 1000 * 60 * 60, $updateInterval);
} }
/** /**

View File

@ -388,8 +388,6 @@ class Paging extends ScriptFeature
$maxPageNumber = $maxPage->getPageNumber(); $maxPageNumber = $maxPage->getPageNumber();
} }
$pagingId = $maxPage->getControl()
->getId(true, true);
$pagingId = Builder::escapeText($maxPage->getControl() $pagingId = Builder::escapeText($maxPage->getControl()
->getId()); ->getId());
$pageLabelId = Builder::EMPTY_STRING; $pageLabelId = Builder::EMPTY_STRING;