diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index 3244c7669c8..6090ebd7712 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -992,7 +992,7 @@ class auth_plugin_ldap extends auth_plugin_base { * This will not affect user_password_updated event triggering. * @return stdClass|bool updated user record or false if there is no new info to update. */ - protected function update_user_record($username, $updatekeys = false, $triggerevent = false) { + function update_user_record($username, $updatekeys = false, $triggerevent = false) { global $CFG, $DB; // Just in case check text case