forked from extern/egroupware
fix some typos and IDE warnings
This commit is contained in:
parent
94e74f8db4
commit
c616f1c6b5
@ -65,7 +65,7 @@ class Imap extends Horde_Imap_Client_Socket implements Imap\PushIface
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
static public $default_params = array(
|
static public $default_params = array(
|
||||||
//'debug' => '/tmp/imap.log', // uncomment to log communitcation with IMAP server
|
//'debug' => '/tmp/imap.log', // uncomment to log communication with IMAP server
|
||||||
//'debug_literal' => true, // uncomment to log mail contents returned by IMAP server
|
//'debug_literal' => true, // uncomment to log mail contents returned by IMAP server
|
||||||
'cache' => true, // default caching via Cache / Api\Cache
|
'cache' => true, // default caching via Cache / Api\Cache
|
||||||
);
|
);
|
||||||
|
@ -61,7 +61,7 @@ class Cyrus extends Mail\Imap
|
|||||||
*/
|
*/
|
||||||
function deleteAccount($_hookValues)
|
function deleteAccount($_hookValues)
|
||||||
{
|
{
|
||||||
// some precausion to really delete just _one_ account
|
// some precaution to really delete just _one_ account
|
||||||
if (strpos($_hookValues['account_lid'],'%') !== false ||
|
if (strpos($_hookValues['account_lid'],'%') !== false ||
|
||||||
strpos($_hookValues['account_lid'],'*') !== false)
|
strpos($_hookValues['account_lid'],'*') !== false)
|
||||||
{
|
{
|
||||||
|
@ -73,7 +73,7 @@ class Dovecot extends Mail\Imap
|
|||||||
$this->params['acc_imap_admin_username'] = substr($this->acc_imap_admin_username, $pos+1);
|
$this->params['acc_imap_admin_username'] = substr($this->acc_imap_admin_username, $pos+1);
|
||||||
}
|
}
|
||||||
$this->params['acc_imap_admin_username'] = (is_string($_username) ? $_username : $this->acc_imap_username).
|
$this->params['acc_imap_admin_username'] = (is_string($_username) ? $_username : $this->acc_imap_username).
|
||||||
'*'.$this->acc_imap_admin_username;
|
'*'.$this->params['acc_imap_admin_username'];
|
||||||
|
|
||||||
parent::adminConnection($_username);
|
parent::adminConnection($_username);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user