MDL-76842 auth_lti: don't update the user unless data has changed
commit5132a278224c9151c7f2870f694c50667375e664
authorJake Dallimore <jake@moodle.com>
Wed, 10 May 2023 01:41:38 +0000 (10 09:41 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 8 Jun 2023 01:37:44 +0000 (8 09:37 +0800)
treed1796d38e3359a5320117d9d90068bb77df717cf
parent685be3d41beeed0ed1e8cda81a1f6b3e96bfcd87
MDL-76842 auth_lti: don't update the user unless data has changed

When receiving data from the LTI launch, or service call, only update
the user record when we know something has changed. This prevents the
creation of many \core\event\user_updated events.
auth/lti/auth.php