course completion: MDL-22797 Review course completion compatibility with new enrol...
authorAaron Barnes <aaronb@catalyst.net.nz>
Tue, 3 Aug 2010 00:22:33 +0000 (00:22 +0000)
committerAaron Barnes <aaronb@catalyst.net.nz>
Tue, 3 Aug 2010 00:22:33 +0000 (00:22 +0000)
Also fixes MDL-23595

lib/completion/cron.php

index b0e3f86..c50477f 100644 (file)
@@ -78,7 +78,7 @@ function completion_cron_mark_started() {
             u.id AS userid,
             crc.id AS completionid,
             ue.timestart,
-            ue.timecreated
+            ue.timecreated AS timeenrolled
         FROM
             {user} u
         INNER JOIN