X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fuserset.inc.php;h=21d5b0b54767c8352eeb9dcd93e9f2029028ba43;hb=dbbfabe9138005367547465c13e50b98f121bc36;hp=49c0e0239f24d192e9d71205ae3ea19710ed422f;hpb=adb07f6fa54e996442e9ae1a0fe4158facdb6343;p=platal.git diff --git a/include/userset.inc.php b/include/userset.inc.php index 49c0e02..21d5b0b 100644 --- a/include/userset.inc.php +++ b/include/userset.inc.php @@ -137,7 +137,7 @@ class ArraySet extends UserSet { $where = $this->getUids($users); if ($where) { - $where = "a.alias IN ($where)"; + $where = "u.hruid IN ($where)"; } else { $where = " 0 "; } @@ -146,7 +146,7 @@ class ArraySet extends UserSet private function getUids(array $users) { - $users = get_users_forlife_list($users, true, '_silent_user_callback'); + $users = User::getBulkHruid($users, array('User', '_silent_user_callback')); if (is_null($users)) { return ''; }