Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-26312 Workshop: unset temporary arrays in upgrade code

Spotted by Petr Skoda during the code review.
  • Loading branch information...
commit 0c3c0de198569c80e55e9bd9fa987969744fa182 1 parent f593111
David Mudrák mudrd8mz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  mod/workshop/db/upgrade.php
2  mod/workshop/db/upgrade.php
View
@@ -303,6 +303,8 @@ function xmldb_workshop_upgrade($oldversion) {
}
}
+ unset($problems);
+ unset($map);
upgrade_mod_savepoint(true, 2011021100, 'workshop');
}
Please sign in to comment.
Something went wrong with that request. Please try again.