PHP 5.4 Fix GetValidDaemons function definition for Xmpp & TwitterBridge plugins
This commit is contained in:
parent
c23efdbdb0
commit
f1a3d5a386
@ -249,7 +249,7 @@ class TwitterBridgePlugin extends Plugin
|
||||
*
|
||||
* @return boolean hook return
|
||||
*/
|
||||
function onGetValidDaemons($daemons)
|
||||
function onGetValidDaemons(&$daemons)
|
||||
{
|
||||
if (self::hasKeys()) {
|
||||
array_push(
|
||||
|
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user