From e9d36af5953e85c2781b88304778c0437b2b3ce5 Mon Sep 17 00:00:00 2001 From: fritzy Date: Fri, 21 Nov 2008 08:11:59 +0000 Subject: [PATCH] * Why is logging recording all of the logs forever? Fixed memory leak. git-svn-id: svn://netflint.net/xmpphp@65 ef36c318-a008-4979-b6e8-6b496270793b --- XMPPHP/Log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XMPPHP/Log.php b/XMPPHP/Log.php index 752841f..a9bce3d 100644 --- a/XMPPHP/Log.php +++ b/XMPPHP/Log.php @@ -84,7 +84,7 @@ class XMPPHP_Log { */ public function log($msg, $runlevel = self::LEVEL_INFO) { $time = time(); - $this->data[] = array($this->runlevel, $msg, $time); + #$this->data[] = array($this->runlevel, $msg, $time); if($this->printout and $runlevel <= $this->runlevel) { $this->writeLine($msg, $runlevel, $time); }