mirror of
https://github.com/moodle/moodle.git
synced 2025-02-08 09:02:07 +01:00
We should complete the deletion process using the same user that started it. Added a new param to loginas() to prevent the event to be generated as there is no need to generate an new event for that as the user didn't explicitly loginas again.