user class
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/legacy@81 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -25,7 +25,7 @@ class User
|
||||
}
|
||||
|
||||
self::setInfo(self::getByLogin($login));
|
||||
if (!self::getInfo() || self::$user->isBanned()) {
|
||||
if (!self::getInfo()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user