X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FImap%2Fimapmanager.php;h=cfc08c1ee1fd0252ad324bd8bba8a1f3204a6504;hb=067633a608a7567168cadf96e1bd1d5907931430;hp=0bbd42e78f023deec1d45443848fbd21e1a6ef07;hpb=83c2e0b379a8a6a81c211ed5c4d837e047f919f7;p=quix0rs-gnu-social.git diff --git a/plugins/Imap/imapmanager.php b/plugins/Imap/imapmanager.php index 0bbd42e78f..cfc08c1ee1 100644 --- a/plugins/Imap/imapmanager.php +++ b/plugins/Imap/imapmanager.php @@ -59,12 +59,14 @@ class ImapManager extends IoManager } /** - * Tell the i/o master we need one instance for each supporting site - * being handled in this process. + * Tell the i/o master we need one instance globally. + * Since this is a plugin manager, the plugin class itself will + * create one instance per site. This prevents the IoMaster from + * making more instances. */ public static function multiSite() { - return IoManager::INSTANCE_PER_SITE; + return IoManager::GLOBAL_SINGLE_ONLY; } /**