From 5d3715d4922980bb7b22f51ef5d759f36b1faef2 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 16 Aug 2005 23:17:56 +0000 Subject: [PATCH] Removed tiny amount of unncessary code I added as part of the my moodle block stuff yesterday --- blocks/moodleblock.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }