PHP 5.4 Fix GetValidDaemons function definition for Xmpp & TwitterBridge plugins

This commit is contained in:
Jean Baptiste Favre 2013-06-19 13:25:28 +02:00
parent c23efdbdb0
commit f1a3d5a386
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ class TwitterBridgePlugin extends Plugin
*
* @return boolean hook return
*/
function onGetValidDaemons($daemons)
function onGetValidDaemons(&$daemons)
{
if (self::hasKeys()) {
array_push(

View File

@ -440,7 +440,7 @@ class XmppPlugin extends ImPlugin
*
* @return boolean hook return
*/
function onGetValidDaemons($daemons)
function onGetValidDaemons(&$daemons)
{
if( isset($this->server) &&
isset($this->port) &&