mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Weekly fixes
This commit is contained in:
parent
053fd1c60b
commit
f1b3271b4d
16 changed files with 210 additions and 93 deletions
|
|
@ -104,6 +104,27 @@ class FolderCollection extends \MailSo\Base\Collection
|
|||
return $this->sNamespace;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function FindDelimiter()
|
||||
{
|
||||
$sDelimiter = '/';
|
||||
|
||||
$oFolder = $this->GetByFullNameRaw('INBOX');
|
||||
if (!$oFolder)
|
||||
{
|
||||
$oFolder = $this->GetByIndex(0);
|
||||
}
|
||||
|
||||
if ($oFolder)
|
||||
{
|
||||
$sDelimiter = $oFolder->Delimiter();
|
||||
}
|
||||
|
||||
return $sDelimiter;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sNamespace
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue