mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
missing global preventing full debug during upgrade as was planned
This commit is contained in:
parent
f87cab2a0f
commit
96e1fdf426
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue