1
0
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:
Cameron 2019-04-18 10:25:00 -07:00
parent de509f6d41
commit f4b1cc471c

View File

@ -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;*/
}