From 8d01aeb4287be61195a43305e34f379086914f5d Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 17 Feb 2010 22:44:52 +0000 Subject: #710142 by Berdir, moshe weitzman, chx: Handle exceptions in shutdown functions (with tests). Hopefully the last of these weird 'Stack frame in Unknown line 0' errors. --- modules/system/system.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.api.php') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 5162b69c7..153ddca83 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -877,7 +877,7 @@ function hook_forms($form_id, $args) { function hook_boot() { // we need user_access() in the shutdown function. make sure it gets loaded drupal_load('module', 'user'); - register_shutdown_function('devel_shutdown'); + drupal_register_shutdown_function('devel_shutdown'); } /** -- cgit v1.2.3