]> 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:19:35 +0000 (01:19 +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 65fd7eeaf7bc57b5739540fd2fdcee284724798e..47663271aa4864938c84724cc267de629f57adfa 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 83170396d2f77a1d2df8c6b13221fa348426746b..e323a475e1576c021b8bba9dccd2051ca33110d3 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 1b71ac903e98bd62528bcc8117c86fee4fc9545f..dca884a0f6abbad660df45b7e9876fc9532054a4 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 d4bb74e93559ee8ecb80e1ad613677ea6c94a4bf..811a9cca30c99fabdd09172088f01dd07b728291 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