Fix classnames.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 21 Jul 2009 17:31:47 +0000 (11:31 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 21 Jul 2009 22:25:59 +0000 (16:25 -0600)
framework/Imap_Client/lib/Horde/Imap/Client/Base.php

index 9b7fb53..6303fc4 100644 (file)
@@ -160,7 +160,7 @@ abstract class Horde_Imap_Client_Base
         if (!isset($this->_params['_passencrypt'])) {
             $key = Horde_Imap_Client::$encryptKey;
             if (!is_null($key)) {
-                $this->_params['_passencrypt'] = Secret::write($key, $this->_params['password']);
+                $this->_params['_passencrypt'] = Horde_Secret::write($key, $this->_params['password']);
                 $this->_params['password'] = null;
             }
         }
@@ -173,7 +173,7 @@ abstract class Horde_Imap_Client_Base
     {
         if (isset($this->_params['_passencrypt']) &&
             !is_null(Horde_Imap_Client::$encryptKey)) {
-            $this->_params['password'] = Secret::read(Horde_Imap_Client::$encryptKey, $this->_params['_passencrypt']);
+            $this->_params['password'] = Horde_Secret::read(Horde_Imap_Client::$encryptKey, $this->_params['_passencrypt']);
         }
 
         if (!empty($this->_params['debug'])) {