Added require_once for pagelib.php.
Now deleting courses with these activities in works just fine once more!
This commit is contained in:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user