From: stronk7 Date: Tue, 20 Apr 2004 17:47:36 +0000 (+0000) Subject: This hasn't sense because get_list_of_plugins() exclude it X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5216e2c63c8ff3646ac60266592499e7d9e928f0;p=moodle.git This hasn't sense because get_list_of_plugins() exclude it using its new parameter. --- diff --git a/lib/blocklib.php b/lib/blocklib.php index 339ebb49c8..a6fa564779 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -424,7 +424,7 @@ function upgrade_blocks_plugins($continueto) { foreach ($blocks as $blockname) { - if ($blockname == "NEWBLOCK" || $blockname == 'db') { // Someone has unzipped the template, ignore it + if ($blockname == "NEWBLOCK") { // Someone has unzipped the template, ignore it continue; }