]> git.mjollnir.org Git - moodle.git/commitdiff
Applying new rs_xxx() functions everywhere. MDL-8134
authorstronk7 <stronk7>
Mon, 29 Jan 2007 10:47:25 +0000 (10:47 +0000)
committerstronk7 <stronk7>
Mon, 29 Jan 2007 10:47:25 +0000 (10:47 +0000)
auth/db/auth.php

index 47ee43febb996c79bbd165d15a3dbc1ed556b8bf..c3c3ed96a7fe18f6aae1033678e5686b0ed2f3b3 100644 (file)
@@ -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 {