From 47555fffedbb512e2c1d862ac698bd8e74fd9ac7 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 24 Nov 2008 23:24:58 -0700 Subject: [PATCH] Can't make these changes until Auth is PHP 5-ified. --- imp/lib/Auth/imp.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imp/lib/Auth/imp.php b/imp/lib/Auth/imp.php index 22ed5adf5..48a14ef70 100644 --- a/imp/lib/Auth/imp.php +++ b/imp/lib/Auth/imp.php @@ -28,8 +28,8 @@ class Auth_imp extends Auth * * @return boolean Whether or not the credentials are valid. */ - public function authenticate($userID = null, $credentials = array(), - $login = false) + function authenticate($userID = null, $credentials = array(), + $login = false) { return parent::authenticate($userID, $credentials, $login && ($this->getProvider() == 'imp')); } @@ -42,7 +42,7 @@ class Auth_imp extends Auth * * @return boolean Whether or not the credentials are valid. */ - protected function _authenticate($userID, $credentials) + function _authenticate($userID, $credentials) { // Check for valid IMAP Client object. if (!$GLOBALS['imp_imap']->loadImapObject()) { -- 2.11.0