Added require_once for pagelib.php.

Now deleting courses with these activities in works just fine once more!
This commit is contained in:
defacer
2005-02-28 04:23:52 +00:00
parent 880d86758b
commit c4d588cc24
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@
/// Library of functions and constants for module chat
require_once($CFG->libdir.'/pagelib.php');
if (!isset($CFG->chat_refresh_room)) {
set_config("chat_refresh_room", 5);
}
+2
View File
@@ -2,6 +2,8 @@
/// Library of function for module quiz
require_once($CFG->libdir.'/pagelib.php');
/// CONSTANTS ///////////////////////////////////////////////////////////////////
define("QUIZ_MAX_EVENT_LENGTH", "432000"); // 5 days maximum