diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-27 09:30:48 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-27 09:30:48 -0400 |
commit | b69b206c97a97e89b9a7d80a1b4f7b65447f8039 (patch) | |
tree | 79c3a23dbe4fc2f4d6e8bd6a47a338f8ff079631 | |
parent | b6d67b06d45d4fd783e91b1b1aeb17501c6df871 (diff) |
restoring upstream XMLStream.php after pulling ciarang's patch
darcs-hash:20080827133048-84dde-cb99ac89c65008a8832395684386518718247887.gz
-rw-r--r-- | extlib/XMPPHP/XMLStream.php | 3 |
1 files changed, 1 insertions, 2 deletions
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); } } |