From: tjhunt Date: Wed, 11 Feb 2009 06:43:23 +0000 (+0000) Subject: upgrade refactoring: MDL-17458 remove references to block_is_compatible, since Petr... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=625b51d4e087073741962c8488f7f0c3f55f811f;p=moodle.git upgrade refactoring: MDL-17458 remove references to block_is_compatible, since Petr deleted that function. --- diff --git a/admin/blocks.php b/admin/blocks.php index cfe59e933b..99216f8249 100644 --- a/admin/blocks.php +++ b/admin/blocks.php @@ -63,9 +63,6 @@ print_error('blockdoesnotexist', 'error'); } - if (!block_is_compatible($block->name)) { - $strblockname = $block->name; - } else { $blockobject = block_instance($block->name); $strblockname = $blockobject->get_title(); @@ -128,11 +125,6 @@ $incompatible = array(); foreach ($blocks as $block) { - if (!block_is_compatible($block->name)) { - notify('Block '. $block->name .' is not compatible with the current version of Moodle and needs to be updated by a programmer.'); - $incompatible[] = $block; - continue; - } if (($blockobject = block_instance($block->name)) === false) { // Failed to load continue;