Resolved #151 MX Map update check failed

This commit is contained in:
kremsy
2017-06-21 19:06:26 +02:00
parent 652f46703b
commit ba67ea6911
2 changed files with 11 additions and 4 deletions

View File

@ -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() . '!';