mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Rename MessageSimple* commands to Message*
This commit is contained in:
parent
173a172cf8
commit
94aa2f11c4
10 changed files with 30 additions and 24 deletions
|
|
@ -340,7 +340,7 @@ class KolabAddressBook implements \RainLoop\Providers\AddressBook\AddressBookInt
|
|||
|
||||
$sSearch = \MailSo\Imap\SearchCriterias::escapeSearchString($this->ImapClient(), $sSearch);
|
||||
$aUids = \array_slice(
|
||||
$this->ImapClient()->MessageSimpleSearch("FROM {$sSearch}"),
|
||||
$this->ImapClient()->MessageSearch("FROM {$sSearch}"),
|
||||
0, $iLimit
|
||||
);
|
||||
|
||||
|
|
@ -361,7 +361,7 @@ class KolabAddressBook implements \RainLoop\Providers\AddressBook\AddressBookInt
|
|||
if ($bCreateAuto) {
|
||||
foreach ($aEmails as $sEmail => $sAddress) {
|
||||
$sSearch = \MailSo\Imap\SearchCriterias::escapeSearchString($this->ImapClient(), $sEmail);
|
||||
if (!$this->ImapClient()->MessageSimpleSearch("FROM {$sSearch}")) {
|
||||
if (!$this->ImapClient()->MessageSearch("FROM {$sSearch}")) {
|
||||
$oVCard = new VCard;
|
||||
$oVCard->add('EMAIL', $sEmail);
|
||||
$sFullName = \trim(\MailSo\Mime\Email::Parse(\trim($sAddress))->GetDisplayName());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue