mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Use getUsersInClass() for get_users_inclass() method.
This commit is contained in:
parent
de509f6d41
commit
f4b1cc471c
@ -641,7 +641,11 @@ class private_message
|
||||
*/
|
||||
function get_users_inclass($class)
|
||||
{
|
||||
$sql = e107::getDb();
|
||||
|
||||
return e107::getUserClass()->getUsersInClass($class, 'user_name, user_email, user_class');
|
||||
|
||||
|
||||
/*$sql = e107::getDb();
|
||||
|
||||
if($class == e_UC_MEMBER)
|
||||
{
|
||||
@ -663,7 +667,7 @@ class private_message
|
||||
$ret = $sql->db_getList();
|
||||
return $ret;
|
||||
}
|
||||
return FALSE;
|
||||
return FALSE;*/
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user