From 7ea9b0953dbc7ada2fa10996ee4a2c3ecdae34e2 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Wed, 9 May 2007 06:14:09 +0000 Subject: [PATCH] making grabbing grades from 3rd party mods run 20% of the time --- admin/cron.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/admin/cron.php b/admin/cron.php index 6f33caca30..83a48f1575 100644 --- a/admin/cron.php +++ b/admin/cron.php @@ -260,6 +260,12 @@ } } } + + // attemps to grab grades from third party/non-stard mods, or mods with no event + // implemented for 1.9 and above. + mtrace("Grabbing grades from modules if required..."); + include_once($CFG->dirroot.'/lib/gradelib.php'); + grades_grab_grades(); } // End of occasional clean-up tasks @@ -380,12 +386,6 @@ } } } - - // attemps to grab grades from third party/non-stard mods, or mods with no event - // implemented for 1.9 and above. - mtrace("Grabbing grades from modules if required..."); - include_once($CFG->dirroot.'/lib/gradelib.php'); - grades_grab_grades(); //Unset session variables and destroy it @session_unset(); -- 2.39.5