fixed number mismatch declerations
This commit is contained in:
parent
ffd46c3cdd
commit
06b3893a27
@ -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();
|
||||||
|
@ -462,9 +462,8 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener,
|
|||||||
if (!$setting->setting != self::SETTING_UPDATECHECK_INTERVAL) {
|
if (!$setting->setting != self::SETTING_UPDATECHECK_INTERVAL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$updateInterval = $setting->value;
|
$this->maniaControl->getTimerManager()->updateTimerListening($this, 'hourlyUpdateCheck', 1000 * 60 * 60);
|
||||||
$this->maniaControl->getTimerManager()->updateTimerListening($this, 'hourlyUpdateCheck', 1000 * 60 * 60, $updateInterval);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -387,9 +387,7 @@ class Paging extends ScriptFeature
|
|||||||
if (!is_int($maxPageNumber)) {
|
if (!is_int($maxPageNumber)) {
|
||||||
$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;
|
||||||
|
Loading…
Reference in New Issue
Block a user