restoring upstream XMLStream.php after pulling ciarang's patch
darcs-hash:20080827133048-84dde-cb99ac89c65008a8832395684386518718247887.gz
This commit is contained in:
parent
b6d67b06d4
commit
b69b206c97
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user