mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Applying new rs_xxx() functions everywhere. MDL-8134
This commit is contained in:
parent
7f46a94162
commit
c024b94b02
@ -397,8 +397,8 @@ class auth_plugin_db {
|
||||
|
||||
if ( $rs->RecordCount() ) {
|
||||
$userlist = array();
|
||||
while ($rec = $rs->FetchRow()) {
|
||||
array_push($userlist, $rec['username']);
|
||||
while ($rec = rs_fetch_next_record($rs)) {
|
||||
array_push($userlist, $rec->username);
|
||||
}
|
||||
return $userlist;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user