dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixed some obscure code
[lhc/web/wiklou.git]
/
includes
/
User.php
diff --git
a/includes/User.php
b/includes/User.php
index
da07a23
..
69a8fae
100644
(file)
--- 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;
}
/**