Explicitly declare as static
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 8 Nov 2010 19:09:48 +0000 (12:09 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 8 Nov 2010 20:41:22 +0000 (13:41 -0700)
imp/lib/Imap.php

index abdc61e..cd028e0 100644 (file)
@@ -450,12 +450,12 @@ class IMP_Imap
 
     /* Callback functions used in Horde_Imap_Client_Base. */
 
-    public function getEncryptKey()
+    static public function getEncryptKey()
     {
         return $GLOBALS['injector']->getInstance('Horde_Secret')->getKey('imp');
     }
 
-    public function logError($e)
+    static public function logError($e)
     {
         Horde::logMessage($e, 'ERR');
     }