summaryrefslogtreecommitdiff
path: root/modules/dashboard/dashboard.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-13 21:16:44 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-13 21:16:44 +0000
commit24c259cdd87e747187aecf94dc1f1834e7602adf (patch)
tree807f9e82346dcf8d397ef9756ef049ff1c1b2d93 /modules/dashboard/dashboard.module
parent3257ebf6606c4ab7c56acb012be95075eb67fbda (diff)
downloadbrdo-24c259cdd87e747187aecf94dc1f1834e7602adf.tar.gz
brdo-24c259cdd87e747187aecf94dc1f1834e7602adf.tar.bz2
- Patch #601570 by effulgentsia: hook_exit() and other cleanup needs to happen for AJAX requests too.
Diffstat (limited to 'modules/dashboard/dashboard.module')
-rw-r--r--modules/dashboard/dashboard.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module
index bc903d676..6db5e21c8 100644
--- a/modules/dashboard/dashboard.module
+++ b/modules/dashboard/dashboard.module
@@ -242,7 +242,7 @@ function dashboard_show_disabled() {
// Theme the output and end the page request.
print theme('dashboard_disabled_blocks', array('blocks' => $blocks));
- exit();
+ drupal_exit();
}
/**
@@ -270,7 +270,7 @@ function dashboard_show_block_content($module, $delta) {
$build = _block_get_renderable_array($block_content);
$rendered_block = drupal_render($build);
print $rendered_block;
- exit;
+ drupal_exit();
}
/**
@@ -318,7 +318,7 @@ function dashboard_update() {
}
}
}
- exit;
+ drupal_exit();
}
/**