From f2ccee1c6ba9f2229fcd7a66541fb160ba484699 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 5 May 2022 16:20:22 +0200 Subject: [PATCH] Resolve #367 --- .../ldap-contacts-suggestions/LdapContactsSuggestions.php | 4 ++-- plugins/proxyauth-login-example/index.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/ldap-contacts-suggestions/LdapContactsSuggestions.php b/plugins/ldap-contacts-suggestions/LdapContactsSuggestions.php index 8a10443b2..fda5ba309 100644 --- a/plugins/ldap-contacts-suggestions/LdapContactsSuggestions.php +++ b/plugins/ldap-contacts-suggestions/LdapContactsSuggestions.php @@ -224,8 +224,8 @@ class LdapContactsSuggestions implements \RainLoop\Providers\Suggestions\ISugges '{email:domain}' => $sDomain, '{login}' => $oAccount->Login(), '{imap:login}' => $oAccount->Login(), - '{imap:host}' => $oAccount->DomainIncHost(), - '{imap:port}' => $oAccount->DomainIncPort() + '{imap:host}' => $oAccount->Domain()->IncHost(), + '{imap:port}' => $oAccount->Domain()->IncPort() )); $aObjectClasses = empty($this->sObjectClasses) ? array() : \explode(',', $this->sObjectClasses); diff --git a/plugins/proxyauth-login-example/index.php b/plugins/proxyauth-login-example/index.php index afa590482..675e74900 100644 --- a/plugins/proxyauth-login-example/index.php +++ b/plugins/proxyauth-login-example/index.php @@ -34,10 +34,10 @@ class ProxyauthLoginExamplePlugin extends \RainLoop\Plugins\AbstractPlugin $bValid = $this->isValidAccount($oAccount->Login(), $oAccount->Password()); /** - * $oAccount->Email(); // Email (It is not a IMAP login) - * $oAccount->Login(); // IMAP login - * $oAccount->Password(); // IMAP password - * $oAccount->DomainIncHost(); // IMAP host + * $oAccount->Email(); // Email (It is not a IMAP login) + * $oAccount->Login(); // IMAP login + * $oAccount->Password(); // IMAP password + * $oAccount->Domain()->IncHost(); // IMAP host * * @see \RainLoo\Model\Account for more */