cleanup
This commit is contained in:
		
				
					committed by
					
						 Steffen Schröder
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							47809cd1c5
						
					
				
				
					commit
					0daf046247
				
			| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user