mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-22 03:06:02 +03:00
Update Server.php
This commit is contained in:
parent
92105be73d
commit
a3b85d5e32
@ -318,7 +318,7 @@ class Server
|
||||
/**
|
||||
* This returns the number of messages that the current mailbox contains.
|
||||
*
|
||||
* @param string $mailbox the mailbox path if required to get sub-folder counts
|
||||
* @param string $mailbox
|
||||
* @return int
|
||||
*/
|
||||
public function numMessages($mailbox='')
|
||||
@ -332,7 +332,7 @@ class Server
|
||||
$cnt = $this->numMessages();
|
||||
$this->setMailbox($oldMailbox);
|
||||
}
|
||||
|
||||
|
||||
return ((int) $cnt);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user