Permalink
Browse files

Hiding the error message about block constructors

  • Loading branch information...
1 parent 4422bbf commit 09754fa2b7027f8427feca54d2dfd4f6926f96d2 moodler committed Aug 8, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/blocklib.php
View
2 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;
}

0 comments on commit 09754fa

Please sign in to comment.