mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +02:00
MDL-35843 implement self enrolment expiry notification
This commit is contained in:
parent
8c04252cbf
commit
8a486fdb7d
10 changed files with 374 additions and 6 deletions
|
@ -59,8 +59,11 @@ Example:
|
|||
|
||||
$verbose = !empty($options['verbose']);
|
||||
|
||||
/** @var $plugin enrol_self_plugin */
|
||||
$plugin = enrol_get_plugin('self');
|
||||
|
||||
$result = $plugin->sync(null, $verbose);
|
||||
|
||||
$plugin->send_expiry_notifications($verbose);
|
||||
|
||||
exit($result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue