From: Evan Prodromou Date: Wed, 27 Aug 2008 13:30:48 +0000 (-0400) Subject: restoring upstream XMLStream.php after pulling ciarang's patch X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b69b206c97a97e89b9a7d80a1b4f7b65447f8039;p=quix0rs-gnu-social.git restoring upstream XMLStream.php after pulling ciarang's patch darcs-hash:20080827133048-84dde-cb99ac89c65008a8832395684386518718247887.gz --- diff --git a/extlib/XMPPHP/XMLStream.php b/extlib/XMPPHP/XMLStream.php index 2ed2f5e029..4de23ef7fb 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); } }