summaryrefslogtreecommitdiff
path: root/plugins/Imap/imapmanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Imap/imapmanager.php')
-rw-r--r--plugins/Imap/imapmanager.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/Imap/imapmanager.php b/plugins/Imap/imapmanager.php
index 0bbd42e78..cfc08c1ee 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;
}
/**