Remove dead code in user model
This commit is contained in:
parent
2b30a14744
commit
3233ccd151
1 changed files with 0 additions and 10 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue