]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
onEndInitializeQueueManager expects a QueueManager object, so let's set it here.
authorRoland Haeder <roland@mxchange.org>
Mon, 9 Mar 2015 00:18:34 +0000 (01:18 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 9 Mar 2015 00:18:34 +0000 (01:18 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
lib/implugin.php
plugins/Bookmark/BookmarkPlugin.php
plugins/EmailReminder/EmailReminderPlugin.php
plugins/EmailSummary/EmailSummaryPlugin.php
plugins/FacebookBridge/FacebookBridgePlugin.php
plugins/OfflineBackup/OfflineBackupPlugin.php
plugins/RSSCloud/RSSCloudPlugin.php
plugins/TwitterBridge/TwitterBridgePlugin.php

index 46f29ba66496846852f64506d4615a6b8504702b..9542d4d206d604633691360ad05cc391a26fc4b3 100644 (file)
@@ -528,7 +528,7 @@ abstract class ImPlugin extends Plugin
      *
      * @return boolean hook return
      */
-    function onEndInitializeQueueManager($manager)
+    function onEndInitializeQueueManager(QueueManager $manager)
     {
         $manager->connect($this->transport . '-in', new ImReceiverQueueHandler($this), 'im');
         $manager->connect($this->transport, new ImQueueHandler($this));
index bac54237afa91a283e3ce264d5cb4ebb7ce19f6f..c94421955e0111c40255df3139bd454ee5b45c3d 100644 (file)
@@ -167,7 +167,7 @@ class BookmarkPlugin extends MicroAppPlugin
      *
      * @return boolean hook value
      */
-    function onEndInitializeQueueManager($qm)
+    function onEndInitializeQueueManager(QueueManager $qm)
     {
         $qm->connect('dlcsback', 'DeliciousBackupImporter');
         $qm->connect('dlcsbkmk', 'DeliciousBookmarkImporter');
index 9ac6275537afd6535de0a64f4e1aa0f23ae8157b..a415865ab95a5a7dea067cb71992eacd803220e7 100644 (file)
@@ -68,7 +68,7 @@ class EmailReminderPlugin extends Plugin
      *
      * @return boolean hook value
      */
-    function onEndInitializeQueueManager($qm)
+    function onEndInitializeQueueManager(QueueManager $qm)
     {
         $qm->connect('siterem', 'SiteConfirmReminderHandler');
         $qm->connect('uregrem', 'UserConfirmRegReminderHandler');
index bc47fdece946c628b95963a6b4994bd9a2ee5c2d..e00617ee3d44c464411be52f23e96fbb7a4576cc 100644 (file)
@@ -85,7 +85,7 @@ class EmailSummaryPlugin extends Plugin
      *
      * @return boolean hook value
      */
-    function onEndInitializeQueueManager($qm)
+    function onEndInitializeQueueManager(QueueManager $qm)
     {
         $qm->connect('sitesum', 'SiteEmailSummaryHandler');
         $qm->connect('usersum', 'UserEmailSummaryHandler');
index 466adff5835295805a652560725b9975d6fb4433..e9db0335357bfad5532880c8e67fd009e27c334a 100644 (file)
@@ -464,7 +464,7 @@ ENDOFSCRIPT;
      *
      * @return boolean hook return
      */
-    function onEndInitializeQueueManager($manager)
+    function onEndInitializeQueueManager(QueueManager $manager)
     {
         if (self::hasApplication()) {
             $manager->connect('facebook', 'FacebookQueueHandler');
index c81c1fcd95bc3e29806736d6da02824b6313d6d0..2cc2ae00a0de811582bf08db86841009b59a46af 100644 (file)
@@ -65,7 +65,7 @@ class OfflineBackupPlugin extends Plugin
      * @return boolean hook value
      */
 
-    function onEndInitializeQueueManager($qm)
+    function onEndInitializeQueueManager(QueueManager $qm)
     {
         $qm->connect('backoff', 'OfflineBackupQueueHandler');
         return true;
index 87890d15f84415844359cc7e55503fe345ad12ef..15a25c8d22a893d99a2a50f11803ddaa9277b7ba 100644 (file)
@@ -192,7 +192,7 @@ class RSSCloudPlugin extends Plugin
      *
      * @return boolean hook return
      */
-    function onEndInitializeQueueManager($manager)
+    function onEndInitializeQueueManager(QueueManager $manager)
     {
         $manager->connect('rsscloud', 'RSSCloudQueueHandler');
         return true;
index c540e80de6146cc7b73958d9da4a2f72c55aa2ff..4bccfd30e45b3e4c788022316b6be4e32491ca11 100644 (file)
@@ -238,7 +238,7 @@ class TwitterBridgePlugin extends Plugin
      *
      * @return boolean hook return
      */
-    function onEndInitializeQueueManager($manager)
+    function onEndInitializeQueueManager(QueueManager $manager)
     {
         if (self::hasKeys()) {
             // Outgoing notices -> twitter