Make a static function.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Dec 2008 21:55:45 +0000 (14:55 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Dec 2008 21:56:29 +0000 (14:56 -0700)
imp/lib/IMAP.php

index 1ed289d..6e8941c 100644 (file)
@@ -77,7 +77,7 @@ class IMP_IMAP
      * @return mixed  If $server is set, then return this entry, or return the
      *                entire servers array. Returns false on error.
      */
-    public function loadServerConfig($server = null)
+    static public function loadServerConfig($server = null)
     {
         $servers = Horde::loadConfiguration('servers.php', 'servers', 'imp');
         if (is_a($servers, 'PEAR_Error')) {