]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
restoring upstream XMLStream.php after pulling ciarang's patch
authorEvan Prodromou <evan@prodromou.name>
Wed, 27 Aug 2008 13:30:48 +0000 (09:30 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 27 Aug 2008 13:30:48 +0000 (09:30 -0400)
darcs-hash:20080827133048-84dde-cb99ac89c65008a8832395684386518718247887.gz

extlib/XMPPHP/XMLStream.php

index 2ed2f5e029ed152df0a6cfb376a851cbced27778..4de23ef7fba951c9635b11e7138d8a90a1358281 100644 (file)
@@ -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);
                        }
                }