MDL-13360 fixed regression - notifications going more than once a day

This commit is contained in:
skodak
2008-03-25 23:03:24 +00:00
parent 402b744fd6
commit 9e13cb7144
+1 -1
View File
@@ -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')) {