Needs to be called statically.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 15 Jul 2009 03:38:47 +0000 (21:38 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 15 Jul 2009 16:50:09 +0000 (10:50 -0600)
imp/lib/Session.php

index cbe16c1..76a0053 100644 (file)
@@ -222,7 +222,7 @@ class IMP_Session
      */
     static public function getAutoLoginServer()
     {
-        if (($servers = $GLOBALS['imp_imap']->loadServerConfig()) === false) {
+        if (($servers = IMP_Imap::loadServerConfig()) === false) {
             return null;
         }