Permalink
Browse files

Merge branch 'MDL-61260_33' of git://github.com/markn86/moodle into M…

…OODLE_33_STABLE
  • Loading branch information...
dmonllao authored and snake committed Jan 29, 2018
2 parents 66a13f9 + d8c58a5 commit f89874634c84dd27ca132e40d509fd3b403bf5f7
Showing with 3 additions and 1 deletion.
  1. +3 −1 auth/ldap/auth.php
@@ -1167,7 +1167,9 @@ function iscreator($username) {
*
*/
function user_update($olduser, $newuser) {
global $USER;
global $CFG;
require_once($CFG->dirroot . '/user/profile/lib.php');
if (isset($olduser->username) and isset($newuser->username) and $olduser->username != $newuser->username) {
error_log($this->errorlogtag.get_string('renamingnotallowed', 'auth_ldap'));

0 comments on commit f898746

Please sign in to comment.