From ab695649bd749d64c3fdb209bb9ba4b8764e04ee Mon Sep 17 00:00:00 2001
From: David Stoline <drupal@davidstoline.com>
Date: Fri, 11 May 2012 15:30:48 -0400
Subject: [PATCH] Don't boot the theme

---
 nagios.module |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/nagios.module b/nagios.module
index 3254c4c..fa2f1e4 100644
--- a/nagios.module
+++ b/nagios.module
@@ -297,12 +297,8 @@ function nagios_status_page() {
 
   $output .= implode(', ', $output_state) . ' | ' . implode(';', $output_perf) . "\n";
 
-  // Print the output, so we test the theme
-  // TODO Please change this theme call as discussed at http://drupal.org/node/224333#theme_page.
-  // print theme('page', $output);
-  return $output;
-
   // Exit early so we do not cache the data, nor do we wrap the result in a theme
+  print $output;
   exit();
 }
 
-- 
1.7.10.1

