mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-29 09:19:23 +01:00
fix typo that prevented the creation of imap-mailboxes via hook; update emailadmin_account property documentation
This commit is contained in:
parent
10048d6d02
commit
9fc65c7a32
@ -55,8 +55,8 @@
|
||||
* @property-read string $acc_imap_logintype how to construct login-name standard, vmailmgr, admin, uidNumber
|
||||
* @property-read string $acc_domain domain name
|
||||
* @property-read boolean $acc_imap_administration enable administration
|
||||
* @property-read string $acc_admin_username
|
||||
* @property-read string $acc_admin_password
|
||||
* @property-read string $acc_imap_admin_username
|
||||
* @property-read string $acc_imap_admin_password
|
||||
* @property-read boolean $acc_further_identities are non-admin users allowed to create further identities
|
||||
* @property-read boolean $acc_user_editable are non-admin users allowed to edit this account, if it is for them
|
||||
* @property-read int $acc_modified timestamp of last modification
|
||||
|
@ -115,8 +115,8 @@ class emailadmin_hooks
|
||||
{
|
||||
$smtp->$method($data);
|
||||
}
|
||||
if ($account->acc_imap_type != 'emailadmin_imap' && $account->acc_admin_username &&
|
||||
$account->acc_admin_password && ($imap = $account->imapServer(true)) &&
|
||||
if ($account->acc_imap_type != 'emailadmin_imap' && $account->acc_imap_admin_username &&
|
||||
$account->acc_imap_admin_password && ($imap = $account->imapServer(true)) &&
|
||||
is_a($imap, 'emailadmin_imap') && get_class($imap) != 'emailadmin_imap')
|
||||
{
|
||||
$imap->$method($data);
|
||||
|
Loading…
Reference in New Issue
Block a user