MDL-22503 upgrade - fixing typo. How is it possible this to be here?
[moodle.git] / 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