summaryrefslogtreecommitdiff
path: root/lib/imsenderqueuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/imsenderqueuehandler.php')
-rw-r--r--lib/imsenderqueuehandler.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/imsenderqueuehandler.php b/lib/imsenderqueuehandler.php
index 3dd96ff73..790dd7b10 100644
--- a/lib/imsenderqueuehandler.php
+++ b/lib/imsenderqueuehandler.php
@@ -25,10 +25,9 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
class ImSenderQueueHandler extends QueueHandler
{
- function __construct($plugin, $immanager)
+ function __construct($plugin)
{
$this->plugin = $plugin;
- $this->immanager = $immanager;
}
/**
@@ -38,7 +37,7 @@ class ImSenderQueueHandler extends QueueHandler
*/
function handle($data)
{
- return $this->immanager->send_raw_message($data);
+ return $this->plugin->imManager->send_raw_message($data);
}
}