Hiding the error message about block constructors

This commit is contained in:
moodler
2004-08-08 05:53:05 +00:00
parent 4422bbfb20
commit 09754fa2b7
+1 -1
View File
@@ -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;
}