This commit is contained in:
kremsy 2014-02-26 15:41:54 +01:00 committed by Steffen Schröder
parent 47809cd1c5
commit 0daf046247

View File

@ -543,8 +543,6 @@ class MapManager implements CallbackListener {
* @param bool $update
*/
public function addMapFromMx($mapId, $login, $update = false) {
$mapDir = $this->maniaControl->client->getMapsDirectory();
if (is_numeric($mapId)) {
// Check if map exists
$this->maniaControl->mapManager->mxManager->getMapInfo($mapId, function (MXMapInfo $mapInfo) use ($login) {