summaryrefslogtreecommitdiff
path: root/lib/imsenderqueuehandler.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-02-16 13:15:09 -0500
committerCraig Andrews <candrews@integralblue.com>2010-02-16 13:15:09 -0500
commit20d6a7caed6636c28cc7b95c584549691dff4388 (patch)
treebcf44f5f31a38ff08b363ab45ab486ace9ff1a99 /lib/imsenderqueuehandler.php
parent32084e33a266797b306158df29e48f057651b410 (diff)
parentd5cbfe8071d56438cfa168dc3db56a959317eae0 (diff)
Merge branch '0.9.x' into 1.0.x
Conflicts: lib/queuemanager.php lib/xmppmanager.php plugins/Xmpp/Fake_XMPP.php scripts/imdaemon.php
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);
}
}