]> git.mjollnir.org Git - moodle.git/commitdiff
Corrected typo
authorpaca70 <paca70>
Mon, 24 Mar 2003 13:15:48 +0000 (13:15 +0000)
committerpaca70 <paca70>
Mon, 24 Mar 2003 13:15:48 +0000 (13:15 +0000)
lib/moodlelib.php

index 3702451a8265c5dd46b45b2a5889334892e1d9b1..1737dbf970a168380ea1b794cae3f878477db5ac 100644 (file)
@@ -556,7 +556,7 @@ function authenticate_user_login($username, $password) {
                   }
             } else {
                  if ( record_exists("user_coursecreators", "userid", $user->id)) {
-                      $creator = delete_record("user_coursecreators", "userid", $user->id);
+                      $creator = delete_records("user_coursecreators", "userid", $user->id);
                       if (! $creator) {
                           error("Cannot remove user from course creators.");
                       }