Browse Source

user class

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/legacy@81 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
master
akulikov 16 years ago
parent
commit
7782797923
  1. 2
      classes/User.class.php

2
classes/User.class.php

@ -25,7 +25,7 @@ class User
} }
self::setInfo(self::getByLogin($login)); self::setInfo(self::getByLogin($login));
if (!self::getInfo() || self::$user->isBanned()) {
if (!self::getInfo()) {
return false; return false;
} }

Loading…
Cancel
Save