mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-17 23:43:14 +03:00
Update Server.php
This commit is contained in:
parent
743ceff0de
commit
44a2080f3e
@ -331,7 +331,7 @@ class Server
|
|||||||
}
|
}
|
||||||
$oldMailbox = $this->getMailBox();
|
$oldMailbox = $this->getMailBox();
|
||||||
$this->setMailbox($mailbox);
|
$this->setMailbox($mailbox);
|
||||||
$cnt = imap_num_msg($this->getImapStream());
|
$cnt = $this->numMessages();
|
||||||
$this->setMailbox($oldMailbox);
|
$this->setMailbox($oldMailbox);
|
||||||
return $cnt;
|
return $cnt;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user