Merge branch 'MDL-78179-master' of https://github.com/sarjona/moodle

This commit is contained in:
Andrew Nicols 2023-09-01 11:25:22 +08:00
commit 0235a368da
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14

View File

@ -640,6 +640,8 @@ class backpack_api {
$DB->delete_records('badge_external', array('backpackid' => $backpackid));
$DB->delete_records('badge_backpack', array('userid' => $userid));
$badgescache->delete($userid);
$this->clear_system_user_session();
return true;
}