summaryrefslogtreecommitdiff
path: root/lib/xmppmanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmppmanager.php')
-rw-r--r--lib/xmppmanager.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/xmppmanager.php b/lib/xmppmanager.php
index c49986854..dfff63a30 100644
--- a/lib/xmppmanager.php
+++ b/lib/xmppmanager.php
@@ -176,30 +176,6 @@ class XmppManager extends IoManager
}
/**
- * For queue handlers to pass us a message to push out,
- * if we're active.
- *
- * @fixme should this be blocking etc?
- *
- * @param string $msg XML stanza to send
- * @return boolean success
- */
- public function send($msg)
- {
- if ($this->conn && !$this->conn->isDisconnected()) {
- $bytes = $this->conn->send($msg);
- if ($bytes > 0) {
- return true;
- } else {
- return false;
- }
- } else {
- // Can't send right now...
- return false;
- }
- }
-
- /**
* Send a keepalive ping to the XMPP server.
*/
protected function sendPing()