X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fiomanager.php;h=cb2b35daee0cde3688e003f8324f7a6a2c60e3a8;hb=b24d711f552854d88f2df2120672bdaf173335fc;hp=ee2ff958b9c10046432ca0ee8d227a0a10d9bc07;hpb=02a6006bafd663443b512c5c283b64c7dacfbbb1;p=quix0rs-gnu-social.git diff --git a/lib/iomanager.php b/lib/iomanager.php index ee2ff958b9..cb2b35daee 100644 --- a/lib/iomanager.php +++ b/lib/iomanager.php @@ -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 */ }