removed unused variable

added missing use statement
This commit is contained in:
Steffen Schröder
2014-05-02 15:20:25 +02:00
parent dcaf247813
commit 36b76da5c9
5 changed files with 3 additions and 5 deletions

View File

@ -121,7 +121,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
$queueBuffer = $this->maniaControl->mapManager->mapQueue->getQueueBuffer();
// Get Maps
$mapList = array();
$mapList = null;
$pageCount = null;
if (is_array($maps)) {
$mapList = array_slice($maps, $chunk, self::MAX_PAGES_PER_CHUNK * self::MAX_MAPS_PER_PAGE);