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:
martinlanghoff 2005-08-17 23:54:58 +00:00
parent c1147b7efe
commit 8b9d74a633

View File

@ -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