mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-22 11:16:03 +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.
|
* 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
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function numMessages($mailbox='')
|
public function numMessages($mailbox='')
|
||||||
@ -332,7 +332,7 @@ class Server
|
|||||||
$cnt = $this->numMessages();
|
$cnt = $this->numMessages();
|
||||||
$this->setMailbox($oldMailbox);
|
$this->setMailbox($oldMailbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ((int) $cnt);
|
return ((int) $cnt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user