MDL-87056 enrol: update instance modified date when toggling status.

This commit is contained in:
Paul Holden
2025-11-11 12:36:26 +00:00
parent 7838e3f247
commit b6f7d9b192
+1
View File
@@ -2714,6 +2714,7 @@ abstract class enrol_plugin {
global $DB;
$instance->status = $newstatus;
$instance->timemodified = time();
$DB->update_record('enrol', $instance);
// Dispatch the hook for post enrol status update actions.