MDL-78427 user: Revert accidental addition of deleted line
commitda266d1c0e74b18a0224d042439f2d44a32d6ef5
authorJun Pataleta <jun@moodle.com>
Mon, 5 Feb 2024 05:50:50 +0000 (5 13:50 +0800)
committerJun Pataleta <jun@moodle.com>
Mon, 5 Feb 2024 05:50:50 +0000 (5 13:50 +0800)
tree421199b8fd6dd3eb83827d8cf0a804409295e41e
parent3c196b3039e1ea273d9898889437bc3b3f063156
MDL-78427 user: Revert accidental addition of deleted line

In MDL-80271, the line `$user->timemodified = time();` was removed to
make sure that `user_update_user()` does not unnecessarily writes to
the database. This seems to have been accidentally put back during
conflict resolution while rebasing the patch for MDL-78427.
user/lib.php