Remove dead code in user model

This commit is contained in:
Lucas Bickel 2017-05-22 00:10:38 +02:00
parent 2b30a14744
commit 3233ccd151

View file

@ -267,16 +267,6 @@ class Application_Model_User
} }
} }
public static function getFirstAdminId()
{
$admin = self::getFirstAdmin();
if ($admin) {
return $admin->getDbId();
} else {
return null;
}
}
public static function getUsers(array $type, $search=null) public static function getUsers(array $type, $search=null)
{ {
$con = Propel::getConnection(); $con = Propel::getConnection();