MDL-9516 removing include of gradelib.php - now included only when needed
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
require_once($CFG->libdir.'/gradelib.php');
|
||||
|
||||
/// Some constants
|
||||
define ('DATA_MAX_ENTRIES', 50);
|
||||
define ('DATA_PERPAGE_SINGLE', 1);
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php // $Id$
|
||||
|
||||
require_once($CFG->libdir.'/filelib.php');
|
||||
require_once($CFG->libdir.'/gradelib.php');
|
||||
|
||||
/// CONSTANTS ///////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user