Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b4e0cd3582f7a651628b165cd8e05f91121474c2 1 parent d877eba
@skodak skodak authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/moodlelib.php
View
1  lib/moodlelib.php
@@ -3362,6 +3362,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
Please sign in to comment.
Something went wrong with that request. Please try again.