MDL-30717 update user->timemodified in update_user_record()

This commit is contained in:
Petr Skoda
2012-01-08 15:03:53 +01:00
parent 549a8b74b3
commit 1fb6f5ab67
+1
View File
@@ -3671,6 +3671,7 @@ function update_user_record($username) {
}
if ($newuser) {
$newuser['id'] = $oldinfo->id;
$newuser['timemodified'] = time();
$DB->update_record('user', $newuser);
// fetch full user record for the event, the complete user data contains too much info
// and we want to be consistent with other places that trigger this event