finished updatecommand

This commit is contained in:
kremsy
2014-01-15 20:40:14 +01:00
committed by Steffen Schröder
parent 7fa6a0beda
commit ffe3e0d2ef
4 changed files with 76 additions and 19 deletions

View File

@ -69,6 +69,7 @@ class Map {
* @return bool
*/
public function updateAvailable() {
if($this->mx != null && ($this->lastUpdate < strtotime($this->mx->updated) || $this->uid != $this->mx->uid)) {
return true;
} else {