]> git.mjollnir.org Git - moodle.git/commitdiff
Add one missing return causing db(internal) pass change not to work.
authorstronk7 <stronk7>
Sun, 22 Apr 2007 14:19:43 +0000 (14:19 +0000)
committerstronk7 <stronk7>
Sun, 22 Apr 2007 14:19:43 +0000 (14:19 +0000)
Partially, MDL-9491

Merged from MOODLE_18_STABLE

auth/db/auth.php

index 4e742c8dd21163c3eca11ab1562bd3aadfe24abe..23f4962c3d7ac79e284093f2db595e09c1376229 100644 (file)
@@ -198,7 +198,7 @@ class auth_plugin_db extends auth_plugin_base {
 
         global $CFG;
         if ($this->config->passtype === 'internal') {
-            update_internal_user_password($user, $newpassword);
+            return update_internal_user_password($user, $newpassword);
         } else {
             // we should have never been called!
             return false;