X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fiomanager.php;h=cb2b35daee0cde3688e003f8324f7a6a2c60e3a8;hb=67a9c0415c395d92adeb784413bb9a88fba7347f;hp=f9d97d6a9752b7b7d426d84c43444396a9ab8415;hpb=bd72e8b96e1bc360ba46a1864c6121f3b5f11235;p=quix0rs-gnu-social.git diff --git a/lib/iomanager.php b/lib/iomanager.php index f9d97d6a97..cb2b35daee 100644 --- a/lib/iomanager.php +++ b/lib/iomanager.php @@ -31,7 +31,6 @@ abstract class IoManager { - const GLOBAL_SINGLE_ONLY = -1; const SINGLE_ONLY = 0; const INSTANCE_PER_SITE = 1; const INSTANCE_PER_PROCESS = 2; @@ -39,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 @@ -60,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 */ }