From ec29061d82cb025a957fb42edfae886e6227ee62 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 19 Mar 2008 23:20:00 +0000 Subject: [PATCH] MDL-13899 force resending of all assignment grades into gradebook so that the submitted and graded dates get updated; merged from MOODLE_19_STABLE --- mod/assignment/db/upgrade.php | 2 +- mod/assignment/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/assignment/db/upgrade.php b/mod/assignment/db/upgrade.php index 6d8f37bff6..6055bc5fa5 100644 --- a/mod/assignment/db/upgrade.php +++ b/mod/assignment/db/upgrade.php @@ -47,7 +47,7 @@ function xmldb_assignment_upgrade($oldversion=0) { $result = execute_sql($sql); } - if ($result && $oldversion < 2007101510) { + if ($result && $oldversion < 2007101511) { notify('Processing assignment grades, this may take a while if there are many assignments...', 'notifysuccess'); // change grade typo to text if no grades MDL-13920 require_once $CFG->dirroot.'/mod/assignment/lib.php'; diff --git a/mod/assignment/version.php b/mod/assignment/version.php index 64f7f3a6ca..dcaf4a12ee 100644 --- a/mod/assignment/version.php +++ b/mod/assignment/version.php @@ -5,7 +5,7 @@ // This fragment is called by /admin/index.php //////////////////////////////////////////////////////////////////////////////// -$module->version = 2007101510; +$module->version = 2007101511; $module->requires = 2007101509; // Requires this Moodle version $module->cron = 60; -- 2.39.5