Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
549a8b7
)
MDL-30717 update user->timemodified in update_user_record()
author
Petr Skoda
<commits@skodak.org>
Tue, 27 Dec 2011 14:54:01 +0000
(15:54 +0100)
committer
Petr Skoda
<commits@skodak.org>
Sun, 8 Jan 2012 14:03:53 +0000
(15:03 +0100)
lib/moodlelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/moodlelib.php
b/lib/moodlelib.php
index
2c5d8c0
..
69a0458
100644
(file)
--- a/
lib/moodlelib.php
+++ b/
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