From febeb16113c43e3cd5fff700dfd6b022ab2355bc Mon Sep 17 00:00:00 2001 From: defacer Date: Thu, 27 Jan 2005 23:57:37 +0000 Subject: [PATCH] Removing two error-suppression prefixes (@). I think that in the end, the only purpose they served was to make debugging harder. --- lib/blocklib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/blocklib.php b/lib/blocklib.php index 416e7cb86a..2a8d2f3ccc 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -82,9 +82,9 @@ function block_instance($blockname, $instance = NULL) { function block_load_class($blockname) { global $CFG; - @include_once($CFG->dirroot.'/blocks/moodleblock.class.php'); + include_once($CFG->dirroot.'/blocks/moodleblock.class.php'); $classname = 'block_'.$blockname; - @include_once($CFG->dirroot.'/blocks/'.$blockname.'/block_'.$blockname.'.php'); + include_once($CFG->dirroot.'/blocks/'.$blockname.'/block_'.$blockname.'.php'); // After all this, return value indicating success or failure return class_exists($classname); -- 2.39.5