-
Improvement
-
Resolution: Fixed
-
Minor
-
3.6
-
MOODLE_36_STABLE
-
MOODLE_36_STABLE
-
MDL-63234-master -
MDL-61960 moved this cron job to a new task which is now failing in some conditions if course/lib.php has not already been included.
Scheduled task failed: Cleanup task for recent activity block (block_recent_activity\task\cleanup),Notice: Use of undefined constant COURSE_MAX_RECENT_PERIOD - assumed 'COURSE_MAX_RECENT_PERIOD' in /var/www/html/blocks/recent_activity/classes/task/cleanup.php on line 56
|
Backtrace:
|
* line 56 of /blocks/recent_activity/classes/task/cleanup.php: call to behat_error_handler()
|
* line 105 of /lib/cronlib.php: call to block_recent_activity\task\cleanup->execute()
|
* line 67 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
|
* line 81 of /admin/cron.php: call to cron_run()
|