missing global preventing full debug during upgrade as was planned

This commit is contained in:
Petr Skoda 2010-09-17 08:14:29 +00:00
parent f87cab2a0f
commit 96e1fdf426

View file

@ -920,6 +920,8 @@ function external_delete_descriptions($component) {
* upgrade logging functions * upgrade logging functions
*/ */
function upgrade_handle_exception($ex, $plugin = null) { function upgrade_handle_exception($ex, $plugin = null) {
global $CFG;
// rollback everything, we need to log all upgrade problems // rollback everything, we need to log all upgrade problems
abort_all_db_transactions(); abort_all_db_transactions();