]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Xmpp/Queued_XMPP.php
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
[quix0rs-gnu-social.git] / plugins / Xmpp / Queued_XMPP.php
index 73eff22467b52e8a38354a131c077f7af0248059..aeb758421f59103bda2e449b59a29a029d7e70ac 100644 (file)
@@ -79,7 +79,7 @@ class Queued_XMPP extends XMPPHP_XMPP
      */
     public function send($msg, $timeout=NULL)
     {
-        $this->plugin->enqueue_outgoing_raw($msg);
+        $this->plugin->enqueueOutgoingRaw($msg);
     }
 
     //@{
@@ -88,34 +88,38 @@ class Queued_XMPP extends XMPPHP_XMPP
      */
     public function connect($timeout = 30, $persistent = false, $sendinit = true)
     {
-        throw new Exception("Can't connect to server from fake XMPP.");
+        // No i18n needed. Test message.
+        throw new Exception('Cannot connect to server from fake XMPP.');
     }
 
     public function disconnect()
     {
-        throw new Exception("Can't connect to server from fake XMPP.");
+        // No i18n needed. Test message.
+        throw new Exception('Cannot connect to server from fake XMPP.');
     }
 
     public function process()
     {
-        throw new Exception("Can't read stream from fake XMPP.");
+        // No i18n needed. Test message.
+        throw new Exception('Cannot read stream from fake XMPP.');
     }
 
     public function processUntil($event, $timeout=-1)
     {
-        throw new Exception("Can't read stream from fake XMPP.");
+        // No i18n needed. Test message.
+        throw new Exception('Cannot read stream from fake XMPP.');
     }
 
     public function read()
     {
-        throw new Exception("Can't read stream from fake XMPP.");
+        // No i18n needed. Test message.
+        throw new Exception('Cannot read stream from fake XMPP.');
     }
 
     public function readyToProcess()
     {
-        throw new Exception("Can't read stream from fake XMPP.");
+        // No i18n needed. Test message.
+        throw new Exception('Cannot read stream from fake XMPP.');
     }
     //@}
-
 }
-