]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/iomanager.php
Event fixes for activityhandlerplugin
[quix0rs-gnu-social.git] / lib / iomanager.php
index ee2ff958b9c10046432ca0ee8d227a0a10d9bc07..cb2b35daee0cde3688e003f8324f7a6a2c60e3a8 100644 (file)
@@ -38,7 +38,9 @@ abstract class IoManager
     /**
      * Factory function to get an appropriate subclass.
      */
-    public abstract static function get();
+    public static function get() {
+        throw new MethodNotImplementedException(__METHOD__);
+    }
 
     /**
      * Tell the i/o queue master if and how we can handle multi-site
@@ -59,9 +61,10 @@ abstract class IoManager
      * your manager about each site you'll have to handle so you
      * can do any necessary per-site setup.
      *
-     * @param string $site target site server name
+     * The new site will be the currently live configuration during
+     * this call.
      */
-    public function addSite($site)
+    public function addSite()
     {
         /* no-op */
     }