Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
course completion: MDL-22797 Review course completion compatibility with new enrol...
[moodle.git]
/
lib
/
completion
/
cron.php
diff --git
a/lib/completion/cron.php
b/lib/completion/cron.php
index
a216151
..
b0e3f86
100644
(file)
--- a/
lib/completion/cron.php
+++ b/
lib/completion/cron.php
@@
-78,7
+78,7
@@
function completion_cron_mark_started() {
u.id AS userid,
crc.id AS completionid,
ue.timestart,
u.id AS userid,
crc.id AS completionid,
ue.timestart,
- ue.time
enroll
ed
+ ue.time
creat
ed
FROM
{user} u
INNER JOIN
FROM
{user} u
INNER JOIN
@@
-102,8
+102,8
@@
function completion_cron_mark_started() {
AND u.deleted = 0
AND ue.timestart < ?
AND (ue.timeend > ? OR ue.timeend = 0)
AND u.deleted = 0
AND ue.timestart < ?
AND (ue.timeend > ? OR ue.timeend = 0)
- AND ue.time
enroll
ed < ?
- AND (ue.time
enrolled > ? OR ue.timeenroll
ed = 0)
+ AND ue.time
creat
ed < ?
+ AND (ue.time
created > ? OR ue.timecreat
ed = 0)
ORDER BY
course,
userid
ORDER BY
course,
userid