]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13360 fixed regression - notifications going more than once a day; merged from...
authorskodak <skodak>
Tue, 25 Mar 2008 23:04:06 +0000 (23:04 +0000)
committerskodak <skodak>
Tue, 25 Mar 2008 23:04:06 +0000 (23:04 +0000)
enrol/manual/enrol.php

index 7596fc76a18993a3a973c27002fc2eb8615cb6eb..78e51b8eec5c766d7cc2c3145bad35480c2fdcae 100644 (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')) {