From: skodak Date: Tue, 25 Mar 2008 23:04:06 +0000 (+0000) Subject: MDL-13360 fixed regression - notifications going more than once a day; merged from... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ee2e85d4ac4b939fe97c3b62eb5404da692be190;p=moodle.git MDL-13360 fixed regression - notifications going more than once a day; merged from MOODLE_19_STABLE --- diff --git a/enrol/manual/enrol.php b/enrol/manual/enrol.php index 7596fc76a1..78e51b8eec 100644 --- a/enrol/manual/enrol.php +++ b/enrol/manual/enrol.php @@ -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')) {