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
|
||||
*/
|
||||
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
|
||||
'cache' => true, // default caching via Cache / Api\Cache
|
||||
);
|
||||
@ -1562,4 +1562,4 @@ class Imap extends Horde_Imap_Client_Socket implements Imap\PushIface
|
||||
in_array($this->acc_imap_host.':'.$this->acc_imap_port, self::$hosts_with_push));
|
||||
}
|
||||
}
|
||||
Imap::init_static();
|
||||
Imap::init_static();
|
@ -61,7 +61,7 @@ class Cyrus extends Mail\Imap
|
||||
*/
|
||||
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 ||
|
||||
strpos($_hookValues['account_lid'],'*') !== false)
|
||||
{
|
||||
@ -230,4 +230,4 @@ class Cyrus extends Mail\Imap
|
||||
}
|
||||
return parent::__call($name, $params);
|
||||
}
|
||||
}
|
||||
}
|
@ -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'] = (is_string($_username) ? $_username : $this->acc_imap_username).
|
||||
'*'.$this->acc_imap_admin_username;
|
||||
'*'.$this->params['acc_imap_admin_username'];
|
||||
|
||||
parent::adminConnection($_username);
|
||||
}
|
||||
@ -282,4 +282,4 @@ class Dovecot extends Mail\Imap
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -404,4 +404,4 @@ class Sql extends Mail\Smtp
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user