removed unused variable
added missing use statement
This commit is contained in:
parent
dcaf247813
commit
36b76da5c9
@ -179,7 +179,6 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener {
|
||||
}
|
||||
|
||||
$manialink = new ManiaLink(self::MLID_MENU);
|
||||
$script = $manialink->getScript();
|
||||
|
||||
/*
|
||||
* Admin Menu
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace ManiaControl\Files;
|
||||
use ManiaControl\ManiaControl;
|
||||
|
||||
/**
|
||||
* Backup Utility Class
|
||||
|
@ -133,8 +133,6 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
|
||||
$paging = new Paging();
|
||||
$script->addFeature($paging);
|
||||
|
||||
$pagesId = 'MxListPages';
|
||||
|
||||
// Main frame
|
||||
$frame = $this->maniaControl->manialinkManager->styleManager->getDefaultListFrame($script, $paging);
|
||||
$maniaLink->add($frame);
|
||||
|
@ -84,7 +84,7 @@ class ManiaExchangeManager {
|
||||
trigger_error($saveMapStatement->error);
|
||||
}
|
||||
|
||||
//Take the uid out of the vektor
|
||||
//Take the uid out of the vector
|
||||
if (isset($this->mxIdUidVector[$mxMapInfo->id])) {
|
||||
$uid = $this->mxIdUidVector[$mxMapInfo->id];
|
||||
} else {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user