Merge branch 'MDL-87046-405' of https://github.com/andrewnicols/moodle into MOODLE_405_STABLE
This commit is contained in:
@@ -50,6 +50,7 @@ class core_shutdown_manager {
|
||||
public static function initialize() {
|
||||
if (self::$registered) {
|
||||
debugging('Shutdown manager is already initialised!');
|
||||
return;
|
||||
}
|
||||
self::$registered = true;
|
||||
register_shutdown_function(array('core_shutdown_manager', 'shutdown_handler'));
|
||||
|
||||
Reference in New Issue
Block a user