removed weird != null comparing

(why are you doing this??)
This commit is contained in:
Steffen Schröder committed 2014-05-01 17:35:35 +02:00
1 parent 43badf4baa
commit 2c066f7b62
13 files changed
+22 -22

No files matched your search

+1 -1
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;