]> git.mjollnir.org Git - moodle.git/commitdiff
This condition was preventing new installs sometimes
authorstronk7 <stronk7>
Thu, 31 Aug 2006 22:42:04 +0000 (22:42 +0000)
committerstronk7 <stronk7>
Thu, 31 Aug 2006 22:42:04 +0000 (22:42 +0000)
lib/blocklib.php

index ea291b3f203e37dc7fe8b46b326fcdc8cb4a3a8a..229109068f08eced058b37efc0404172c7ad4d21 100644 (file)
@@ -1076,10 +1076,6 @@ function upgrade_blocks_plugins($continueto) {
             }
         }
 
-        if (!$oldupgrade && !$newupgrade) {
-            continue;
-        }
-
         $classname = 'block_'.$blockname;
         if(!class_exists($classname)) {
             $notices[] = 'Block '. $blockname .': '. $classname .' not implemented';