Add one missing return causing db(internal) pass change not to work.

Partially, MDL-9491

Merged from MOODLE_18_STABLE
This commit is contained in:
stronk7 2007-04-22 14:19:43 +00:00
parent 65acd2bb97
commit d972bfd01a

View file

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