]> git.mjollnir.org Git - moodle.git/commitdiff
This hasn't sense because get_list_of_plugins() exclude it
authorstronk7 <stronk7>
Tue, 20 Apr 2004 17:47:36 +0000 (17:47 +0000)
committerstronk7 <stronk7>
Tue, 20 Apr 2004 17:47:36 +0000 (17:47 +0000)
using its new parameter.

lib/blocklib.php

index 339ebb49c82699c591a5a75dc92701e228745a0a..a6fa5647792f0082af8fea5b89cc5726b314acaa 100644 (file)
@@ -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;
         }