Resolved #151 MX Map update check failed
This commit is contained in:
1 parent
652f46703b
commit
ba67ea6911
2 files changed
+11
-4
No files matched your search
@@ -367,6 +367,8 @@ class DirectoryBrowser implements ManialinkPageAnswerListener {
|
||||
$this->maniaControl->getMapManager()->getMXManager()->fetchManiaExchangeMapInformation($map);
|
||||
|
||||
$map->lastUpdate = time();
|
||||
//Update Map Timestamp in Database
|
||||
$this->maniaControl->getMapManager()->updateMapTimestamp($map->uid);
|
||||
|
||||
// Message
|
||||
$message = $player->getEscapedNickname() . ' added ' . $map->getEscapedName() . '!';
|
||||
|
||||
Reference in new issue
Block a user