X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FImap%2Fimapmanager.php;h=c49c060921faafd8dbfc1798a7c9e3eedc0888f7;hb=59119482ca34540bd7f0a2a1aa994de1d5328ea2;hp=e2f8c6d5431f829dd6153d03c95f04145669e5d3;hpb=1652ded48c9c62c40157a5142e5231adbc574ddb;p=quix0rs-gnu-social.git diff --git a/plugins/Imap/imapmanager.php b/plugins/Imap/imapmanager.php index e2f8c6d543..c49c060921 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; } /**