diff --git a/grade/lib.php b/grade/lib.php index 13ef4a20308..f99521f7cb4 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -1,10 +1,15 @@ dirroot.'/course/lib.php'); define('UNCATEGORISED', 'uncategorised'); +global $GRADEPREFS, $GRADEPREFSDEFAULTS; // This variables are going to be global... :-/ + $GRADEPREFS = array('use_advanced', // Only add new preferences to the end of this array! 'use_weighted_for_letter', // as the order counts and will affect backward compatibility 'display_weighted',