]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/unqueuemanager.php
Fix three fatal errors when posting from 0.9.x:
[quix0rs-gnu-social.git] / lib / unqueuemanager.php
index 6cfe5bcbd31e9c7d518f6f8929a76be52583e6ab..6c26fac0ed9cc61a05812f719ad9e232fb8d1b9d 100644 (file)
@@ -48,11 +48,6 @@ class UnQueueManager
                 jabber_public_notice($notice);
             }
             break;
-         case 'twitter':
-            if ($this->_isLocal($notice)) {
-                broadcast_twitter($notice);
-            }
-            break;
          case 'facebook':
             if ($this->_isLocal($notice)) {
                 require_once INSTALLDIR . '/lib/facebookutil.php';
@@ -77,7 +72,7 @@ class UnQueueManager
             break;
          default:
             if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) {
-                throw ServerException("UnQueueManager: Unknown queue: $queue");
+                throw new ServerException("UnQueueManager: Unknown queue: $queue");
             }
         }
     }