From: Ævar Arnfjörð Bjarmason Date: Thu, 28 Apr 2005 07:54:40 +0000 (+0000) Subject: * Fixed some obscure code X-Git-Tag: 1.5.0alpha1~87 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=a87b485b4567486f6fd45c57b010985eb3a3c393;p=lhc%2Fweb%2Fwiklou.git * Fixed some obscure code --- diff --git a/includes/User.php b/includes/User.php index da07a23a73..69a8fae71a 100644 --- a/includes/User.php +++ b/includes/User.php @@ -378,8 +378,7 @@ class User { */ function isBlocked( $bFromSlave = false ) { $this->getBlockedStatus( $bFromSlave ); - if ( 0 === $this->mBlockedby ) { return false; } - return true; + return $this->mBlockedby !== 0; } /**