From d04d202234b0ba1e65b1c581acf0cbe715120dd7 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 22 Nov 2006 06:49:30 -0500
Subject: [PATCH] Remove newlines from mail headers (#1484031)

---
 program/include/bugs.inc |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/program/include/bugs.inc b/program/include/bugs.inc
index bf4c572..946a910 100644
--- a/program/include/bugs.inc
+++ b/program/include/bugs.inc
@@ -115,19 +115,4 @@
     }
   }
 
-function log_debug($filename, $text)
-{
-   global $CONFIG, $INSTALL_PATH;
-
-   if (empty($CONFIG['log_dir']))
-      $CONFIG['log_dir'] = $INSTALL_PATH.'logs';
-
-   // try to open specific log file for writing
-   if ($fp = @fopen($CONFIG['log_dir'].'/'.$filename, 'a'))
-   {
-      fwrite($fp, date("d-M-Y H:i:s", mktime()) . ' ' . $text . "\n");
-      fclose($fp);
-   }
-}
-
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1