MDL-22503 upgrade - fixing typo. How is it possible this to be here?
authorEloy Lafuente <stronk7@moodle.org>
Tue, 25 May 2010 18:25:50 +0000 (18:25 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Tue, 25 May 2010 18:25:50 +0000 (18:25 +0000)
lib/db/upgrade.php

index 72883b9..3cd603a 100644 (file)
@@ -2395,7 +2395,7 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
         unset($instanceidstring);
 
         // Now remove the actual block instance
-        $$DB->delete_records_select('block_instances', 'blockname IN ('.$outmodedblocksstring.')');
+        $DB->delete_records_select('block_instances', 'blockname IN ('.$outmodedblocksstring.')');
         unset($outmodedblocksstring);
 
         // Insert the new block instances. Remember they have not been installed yet