]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Imap/imapmanager.php
Create IM plugin, Pluginize XMPP, Create AIM plugin
[quix0rs-gnu-social.git] / plugins / Imap / imapmanager.php
index e4fda5809962c6da82a9fe82579168e850b10b99..4c0edeaa1d5cca3c0b21676553da22da8d4ce1fb 100644 (file)
@@ -57,12 +57,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;
     }
 
     /**