Browse files

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

  • Loading branch information...
1 parent 17330e8 commit 2824832a18f64d41594640b6b2ddd5ad74426482 @skodak skodak committed Dec 27, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/moodlelib.php
View
1 lib/moodlelib.php
@@ -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

0 comments on commit 2824832

Please sign in to comment.