/** * Delete the specified messages from this folder. * * @param array|string $uids Backend id(s) of the message to be deleted. */ public function deleteBackendIds($uids) { if (!is_array($uids)) { $uids = array($uids); } $this->_driver->deleteMessages($this->_folder->getPath(), $uids); $this->_driver->expunge($this->_folder->getPath()); }
/** * Expunges messages in the current folder. * * @param string $folder The folder to expunge. * * @return NULL */ public function expunge($folder) { $this->_driver->expunge($folder); }