removed weird != null comparing

(why are you doing this??)
This commit is contained in:
Steffen Schröder
2014-03-31 21:41:05 +02:00
parent 43badf4baa
commit 2c066f7b62
13 changed files with 22 additions and 22 deletions

View File

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