summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel.module6
1 files changed, 1 insertions, 5 deletions
diff --git a/devel.module b/devel.module
index bfe4be9..dce7c5f 100644
--- a/devel.module
+++ b/devel.module
@@ -423,6 +423,7 @@ function devel_silent() {
// isset($_GET['q']) is needed on IIS when calling the front page. q is not set.
// Don't interfere with private files/images.
return
+ devel_verify_cli() ||
isset($GLOBALS['devel_shutdown']) ||
strstr($_SERVER['PHP_SELF'], 'update.php') ||
(isset($_GET['q']) && (
@@ -745,11 +746,6 @@ function devel_shutdown_real() {
}
}
- // don't append gunk to CLI scripts
- if (devel_verify_cli()) {
- return;
- }
-
if (isset($user) && user_access('access devel information')) {
list($counts, $query_summary) = devel_query_summary();
// Query log off, timer on.