]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9516 removing include of gradelib.php - now included only when needed
authorskodak <skodak>
Mon, 11 Jun 2007 11:28:42 +0000 (11:28 +0000)
committerskodak <skodak>
Mon, 11 Jun 2007 11:28:42 +0000 (11:28 +0000)
mod/assignment/lib.php
mod/data/lib.php
mod/forum/lib.php
mod/glossary/lib.php

index 344fcfb15c0b17862e1c0a7648a4af97f15da396..cb6949180330c0591effbaae75c706990015ea08 100644 (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);
 
index a5c92e9cf43e0b7b94511616d39cdee1d185ab95..c21de43d1eed3b2de5108b2881e9db4f3e16eae9 100755 (executable)
@@ -22,8 +22,6 @@
 //                                                                       //
 ///////////////////////////////////////////////////////////////////////////
 
-require_once($CFG->libdir.'/gradelib.php');
-
 /// Some constants
 define ('DATA_MAX_ENTRIES', 50);
 define ('DATA_PERPAGE_SINGLE', 1);
index fece8039b9191a329a540bffcaaf57bc660b1fbf..743303f39e9eeaccfd91a6cb65d2cce84d0ac014 100644 (file)
@@ -1,7 +1,6 @@
 <?php  // $Id$
 
 require_once($CFG->libdir.'/filelib.php');
-require_once($CFG->libdir.'/gradelib.php');
 
 /// CONSTANTS ///////////////////////////////////////////////////////////
 
index 7147c130af7b6f1f1f0f4b185e27d3a2d8ac5bcd..58380b026ad7a88f861725f32c6a73851a31f4ae 100644 (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);