From 8eefd42e7e88458ccb3ed7889455b52fe5d0179e Mon Sep 17 00:00:00 2001 From: defacer Date: Sat, 17 Dec 2005 04:53:50 +0000 Subject: [PATCH] Oops. Forgot some debug code in there. --- blocks/moodleblock.class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 4357c6ff397..0fab4a2b834 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -588,9 +588,6 @@ class block_base { * @todo finish documenting this function */ function user_can_addto(&$page) { - if(empty($page)) { - die('a'); - } return true; }