diff options
Diffstat (limited to 'include/ws_core.inc.php')
-rw-r--r-- | include/ws_core.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ws_core.inc.php b/include/ws_core.inc.php index a8c1b7f76..e46953287 100644 --- a/include/ws_core.inc.php +++ b/include/ws_core.inc.php @@ -291,7 +291,7 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF array('methodName') ); - trigger_action('ws_add_methods', array(&$this) ); + trigger_notify('ws_add_methods', array(&$this) ); uksort( $this->_methods, 'strnatcmp' ); $this->_requestHandler->handleRequest($this); } @@ -306,7 +306,7 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF @header('Content-Type: '.$contentType.'; charset='.get_pwg_charset()); print_r($encodedResponse); - trigger_action('sendResponse', $encodedResponse ); + trigger_notify('sendResponse', $encodedResponse ); } /** @@ -598,7 +598,7 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF return new PwgError(WS_ERR_MISSING_PARAM, 'Missing parameters: '.implode(',',$missing_params)); } - $result = trigger_event('ws_invoke_allowed', true, $methodName, $params); + $result = trigger_change('ws_invoke_allowed', true, $methodName, $params); if ( strtolower( @get_class($result) )!='pwgerror') { if ( !empty($method['include']) ) |