MDL-35843 implement self enrolment expiry notification

This commit is contained in:
Petr Škoda 2012-10-13 23:01:34 +02:00 committed by Petr Skoda
parent 8c04252cbf
commit 8a486fdb7d
10 changed files with 374 additions and 6 deletions

View file

@ -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);