MDL-9516 removing include of gradelib.php - now included only when needed

This commit is contained in:
skodak
2007-06-11 11:28:42 +00:00
parent 92bcca38cd
commit d55930f153
4 changed files with 0 additions and 6 deletions
-2
View File
@@ -5,8 +5,6 @@
* This class provides all the functionality for an assignment
*/
require_once($CFG->libdir.'/gradelib.php');
DEFINE ('ASSIGNMENT_COUNT_WORDS', 1);
DEFINE ('ASSIGNMENT_COUNT_LETTERS', 2);
-2
View File
@@ -22,8 +22,6 @@
// //
///////////////////////////////////////////////////////////////////////////
require_once($CFG->libdir.'/gradelib.php');
/// Some constants
define ('DATA_MAX_ENTRIES', 50);
define ('DATA_PERPAGE_SINGLE', 1);
-1
View File
@@ -1,7 +1,6 @@
<?php // $Id$
require_once($CFG->libdir.'/filelib.php');
require_once($CFG->libdir.'/gradelib.php');
/// CONSTANTS ///////////////////////////////////////////////////////////
-1
View File
@@ -4,7 +4,6 @@
/// (replace glossary with the name of your module and delete this line)
require_once($CFG->libdir.'/filelib.php');
require_once($CFG->libdir.'/gradelib.php');
define("GLOSSARY_SHOW_ALL_CATEGORIES", 0);
define("GLOSSARY_SHOW_NOT_CATEGORISED", -1);