From 4279e7b79da13bbf013c7d5394a5f34182709e56 Mon Sep 17 00:00:00 2001
From: Urban Müller
Date: Mon, 9 Jan 2012 16:32:23 +0000
Subject: style cleanup
---
it_debug.class | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/it_debug.class b/it_debug.class
index 672e0f5..c558f52 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -83,10 +83,7 @@ function dump($args)
if (preg_match('/csv|txt|gif|jpg/', $_SERVER['PHP_SELF']) || preg_grep('#text/(calendar|css|javascript|json|plain|rfc822|xml)#', headers_list()))
$plain = 1;
else if ($_SERVER['REMOTE_ADDR'])
- {
- $blue = "";
- $noblue = "";
- }
+ list($blue, $noblue) = array("", "");
else if (posix_isatty(STDOUT))
list($blue, $noblue, $red, $nored) = getenv('IT_ED_BRIGHT') ? array("\033[34m", "\033[m", "\033[33m", "\033[m") : array("\033[34m", "\033[m", "\033[31m", "\033[m");
--
cgit v1.2.3