]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Imap/imapmanager.php
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
[quix0rs-gnu-social.git] / plugins / Imap / imapmanager.php
index e2f8c6d5431f829dd6153d03c95f04145669e5d3..c49c060921faafd8dbfc1798a7c9e3eedc0888f7 100644 (file)
@@ -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;
     }
 
     /**