From: Roland Haeder Date: Mon, 9 Mar 2015 00:18:34 +0000 (+0100) Subject: onEndInitializeQueueManager expects a QueueManager object, so let's set it here. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=687e1147a91cd78947ec59acc6d81bab069c3385;p=quix0rs-gnu-social.git onEndInitializeQueueManager expects a QueueManager object, so let's set it here. Signed-off-by: Roland Haeder --- diff --git a/lib/implugin.php b/lib/implugin.php index 46f29ba664..9542d4d206 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -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)); diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index bac54237af..c94421955e 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -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'); diff --git a/plugins/EmailReminder/EmailReminderPlugin.php b/plugins/EmailReminder/EmailReminderPlugin.php index 9ac6275537..a415865ab9 100644 --- a/plugins/EmailReminder/EmailReminderPlugin.php +++ b/plugins/EmailReminder/EmailReminderPlugin.php @@ -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'); diff --git a/plugins/EmailSummary/EmailSummaryPlugin.php b/plugins/EmailSummary/EmailSummaryPlugin.php index bc47fdece9..e00617ee3d 100644 --- a/plugins/EmailSummary/EmailSummaryPlugin.php +++ b/plugins/EmailSummary/EmailSummaryPlugin.php @@ -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'); diff --git a/plugins/FacebookBridge/FacebookBridgePlugin.php b/plugins/FacebookBridge/FacebookBridgePlugin.php index 466adff583..e9db033535 100644 --- a/plugins/FacebookBridge/FacebookBridgePlugin.php +++ b/plugins/FacebookBridge/FacebookBridgePlugin.php @@ -464,7 +464,7 @@ ENDOFSCRIPT; * * @return boolean hook return */ - function onEndInitializeQueueManager($manager) + function onEndInitializeQueueManager(QueueManager $manager) { if (self::hasApplication()) { $manager->connect('facebook', 'FacebookQueueHandler'); diff --git a/plugins/OfflineBackup/OfflineBackupPlugin.php b/plugins/OfflineBackup/OfflineBackupPlugin.php index c81c1fcd95..2cc2ae00a0 100644 --- a/plugins/OfflineBackup/OfflineBackupPlugin.php +++ b/plugins/OfflineBackup/OfflineBackupPlugin.php @@ -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; diff --git a/plugins/RSSCloud/RSSCloudPlugin.php b/plugins/RSSCloud/RSSCloudPlugin.php index 87890d15f8..15a25c8d22 100644 --- a/plugins/RSSCloud/RSSCloudPlugin.php +++ b/plugins/RSSCloud/RSSCloudPlugin.php @@ -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; diff --git a/plugins/TwitterBridge/TwitterBridgePlugin.php b/plugins/TwitterBridge/TwitterBridgePlugin.php index c540e80de6..4bccfd30e4 100644 --- a/plugins/TwitterBridge/TwitterBridgePlugin.php +++ b/plugins/TwitterBridge/TwitterBridgePlugin.php @@ -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