Browse files

MDL-26312 Workshop: unset temporary arrays in upgrade code

Spotted by Petr Skoda during the code review.
  • Loading branch information...
1 parent f593111 commit 0c3c0de198569c80e55e9bd9fa987969744fa182 @mudrd8mz mudrd8mz committed Feb 14, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/workshop/db/upgrade.php
View
2 mod/workshop/db/upgrade.php
@@ -303,6 +303,8 @@ function xmldb_workshop_upgrade($oldversion) {
}
}
+ unset($problems);
+ unset($map);
upgrade_mod_savepoint(true, 2011021100, 'workshop');
}

0 comments on commit 0c3c0de

Please sign in to comment.