From b69b206c97a97e89b9a7d80a1b4f7b65447f8039 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 27 Aug 2008 09:30:48 -0400 Subject: restoring upstream XMLStream.php after pulling ciarang's patch darcs-hash:20080827133048-84dde-cb99ac89c65008a8832395684386518718247887.gz --- extlib/XMPPHP/XMLStream.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'extlib/XMPPHP/XMLStream.php') diff --git a/extlib/XMPPHP/XMLStream.php b/extlib/XMPPHP/XMLStream.php index 2ed2f5e02..4de23ef7f 100644 --- a/extlib/XMPPHP/XMLStream.php +++ b/extlib/XMPPHP/XMLStream.php @@ -242,7 +242,7 @@ class XMPPHP_XMLStream { * @param string $obj */ public function addEventHandler($name, $pointer, $obj) { - $this->eventhanders[] = array($name, $pointer, $obj); + $this->eventhandlers[] = array($name, $pointer, $obj); } /** @@ -521,7 +521,6 @@ class XMPPHP_XMLStream { if($handler[2] === null) { $handler[2] = $this; } - $this->log->log("Calling {$handler[1]}", XMPPHP_Log::LEVEL_DEBUG); $handler[2]->$handler[1]($payload); } } -- cgit v1.2.3-54-g00ecf