diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 2a1e7f90cc8..f4cc120f10a 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -411,8 +411,7 @@ class block_base { */ function applicable_formats() { // Default case: the block can be used in courses and site index, but not in activities - require_once($GLOBALS['CFG']->dirroot.'/my/pagelib.php'); - return array('all' => true, 'mod' => false, MY_MOODLE_FORMAT => true); + return array('all' => true, 'mod' => false); }