Skip to content

Commit

Permalink
missing global preventing full debug during upgrade as was planned
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2010
1 parent f87cab2 commit 96e1fdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/upgradelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,8 @@ function external_delete_descriptions($component) {
* upgrade logging functions
*/
function upgrade_handle_exception($ex, $plugin = null) {
global $CFG;

// rollback everything, we need to log all upgrade problems
abort_all_db_transactions();

Expand Down

0 comments on commit 96e1fdf

Please sign in to comment.