From f1a3d5a386b9331284db8c0f3e41a916f0cca64c Mon Sep 17 00:00:00 2001
From: Jean Baptiste Favre <statusnet@jbfavre.org>
Date: Wed, 19 Jun 2013 13:25:28 +0200
Subject: [PATCH] PHP 5.4 Fix GetValidDaemons function definition for Xmpp &
 TwitterBridge plugins

---
 plugins/TwitterBridge/TwitterBridgePlugin.php | 2 +-
 plugins/Xmpp/XmppPlugin.php                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/TwitterBridge/TwitterBridgePlugin.php b/plugins/TwitterBridge/TwitterBridgePlugin.php
index 1b8e55e9b7..4d697509dc 100644
--- a/plugins/TwitterBridge/TwitterBridgePlugin.php
+++ b/plugins/TwitterBridge/TwitterBridgePlugin.php
@@ -249,7 +249,7 @@ class TwitterBridgePlugin extends Plugin
      *
      * @return boolean hook return
      */
-    function onGetValidDaemons($daemons)
+    function onGetValidDaemons(&$daemons)
     {
         if (self::hasKeys()) {
             array_push(
diff --git a/plugins/Xmpp/XmppPlugin.php b/plugins/Xmpp/XmppPlugin.php
index 99d43e47c5..f56d33f0a3 100644
--- a/plugins/Xmpp/XmppPlugin.php
+++ b/plugins/Xmpp/XmppPlugin.php
@@ -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)   &&