finished updatecommand

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:34:59 +02:00
1 parent 7fa6a0beda
commit ffe3e0d2ef
4 files changed
+76 -19

No files matched your search

@@ -89,16 +89,25 @@ class ManiaExchangeManager {
$saveMapStatement->close();
}
/**
* Unset Map by Mx Id
*
* @param $mxId
*/
public function unsetMap($mxId) {
unset($this->mxIdUidVector[$mxId]);
}
/**
* Fetch Map Information from Mania Exchange
*
* @param null $map
*/
public function fetchManiaExchangeMapInformations($map = null) {
if(!$map){
if(!$map) {
//Fetch Informations for whole Maplist
$maps = $this->maniaControl->mapManager->getMaps();
}else{
$maps = $this->maniaControl->mapManager->getMaps();
} else {
//Fetch Information for a single map
$maps[] = $map;
}