From 09754fa2b7027f8427feca54d2dfd4f6926f96d2 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 8 Aug 2004 05:53:05 +0000 Subject: [PATCH] Hiding the error message about block constructors --- lib/blocklib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blocklib.php b/lib/blocklib.php index 6610c9c9d84..551cb5e5487 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -458,7 +458,7 @@ function upgrade_blocks_plugins($continueto) { $methods = get_class_methods($classname); if(!in_array(strtolower($classname), $methods)) { // No constructor - $notices[] = "Block $blockname: class does not have a constructor"; + //$notices[] = "Block $blockname: class does not have a constructor"; $invalidblocks[] = $blockname; continue; }