restoring upstream XMLStream.php after pulling ciarang's patch

darcs-hash:20080827133048-84dde-cb99ac89c65008a8832395684386518718247887.gz
This commit is contained in:
Evan Prodromou 2008-08-27 09:30:48 -04:00
parent b6d67b06d4
commit b69b206c97
1 changed files with 1 additions and 2 deletions

View 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);
}
}