MDL-26312 Workshop: unset temporary arrays in upgrade code
[moodle.git] / mod / workshop / db / upgrade.php
index 34883cc..df614c9 100644 (file)
@@ -303,6 +303,8 @@ function xmldb_workshop_upgrade($oldversion) {
             }
         }
 
+        unset($problems);
+        unset($map);
         upgrade_mod_savepoint(true, 2011021100, 'workshop');
     }