Skip to content

Commit

Permalink
MDL-13360 fixed regression - notifications going more than once a day…
Browse files Browse the repository at this point in the history
…; merged from MOODLE_19_STABLE
  • Loading branch information
skodak committed Mar 25, 2008
1 parent 44266ca commit ee2e85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/manual/enrol.php
Expand Up @@ -253,7 +253,7 @@ function cron() {

// notify once a day only - TODO: add some tz handling here, maybe use timestamps
if ($CFG->lastexpirynotify == date('Ymd')) {
// return;
return;
}

if ($rs = get_recordset_select('course', 'enrolperiod > 0 AND expirynotify > 0 AND expirythreshold > 0')) {
Expand Down

0 comments on commit ee2e85d

Please sign in to comment.