]> git.mjollnir.org Git - moodle.git/commit
Very small change. A little performance for cron if admin enabled sending email for...
authorethem <ethem>
Tue, 20 Jun 2006 17:22:00 +0000 (17:22 +0000)
committerethem <ethem>
Tue, 20 Jun 2006 17:22:00 +0000 (17:22 +0000)
commitbd4669d3448c377a9f05f5ea4abef31a1bcfce05
treec05ad5139b41e5ec912a69686d8f63107563eef0
parentc17d7ead6aa487f187e1b644d18c7aa67436cb9a
Very small change. A little performance for cron if admin enabled sending email for pending orders expiring.

1- If dailysettlement is 00:05 and cron executes at this time, nothing will occur. If it is executes at 00:10 it works. I think "<" works faster then "<=" :))
2- Don't compare course->ids by authorize->courseid, because courses are grouped by courseid. We sure each line is unique.
3- Only get pendingorderexpiring strings for sending email if course teachers exist.

Merged from 16stable.
enrol/authorize/enrol.php