From 7782797923bfaa67971810d8f8fec5b8545e9b51 Mon Sep 17 00:00:00 2001 From: akulikov Date: Mon, 27 Apr 2009 21:13:18 +0000 Subject: [PATCH] user class git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/legacy@81 4cb57b5f-5bbd-dd11-951b-001d605cbbc5 --- classes/User.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/User.class.php b/classes/User.class.php index 75093ae..e2efaa7 100644 --- a/classes/User.class.php +++ b/classes/User.class.php @@ -25,7 +25,7 @@ class User } self::setInfo(self::getByLogin($login)); - if (!self::getInfo() || self::$user->isBanned()) { + if (!self::getInfo()) { return false; }