mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merged from MOODLE_15_STABLE - Added the missing $userold, now detecting updates (and pushing them out to LDAP) should work.
This commit is contained in:
parent
c1147b7efe
commit
8b9d74a633
@ -197,6 +197,7 @@
|
||||
$usernew->url = "http://".$usernew->url;
|
||||
}
|
||||
|
||||
$userold = get_record('user','id',$usernew->id);
|
||||
if (update_record("user", $usernew)) {
|
||||
if (function_exists("auth_user_update")){
|
||||
// pass a true $userold here
|
||||
|
Loading…
x
Reference in New Issue
Block a user