mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Remove useless NewInstance
Bugfix: BodyStructure->SearchCharset return value
This commit is contained in:
parent
82e560bc53
commit
693e0f4c10
61 changed files with 802 additions and 1345 deletions
|
|
@ -67,7 +67,7 @@ class FolderInformation
|
|||
*/
|
||||
public $HighestModSeq;
|
||||
|
||||
private function __construct(string $sFolderName, bool $bIsWritable)
|
||||
function __construct(string $sFolderName, bool $bIsWritable)
|
||||
{
|
||||
$this->FolderName = $sFolderName;
|
||||
$this->IsWritable = $bIsWritable;
|
||||
|
|
@ -81,11 +81,6 @@ class FolderInformation
|
|||
$this->HighestModSeq = null;
|
||||
}
|
||||
|
||||
public static function NewInstance(string $sFolderName, bool $bIsWritable) : self
|
||||
{
|
||||
return new self($sFolderName, $bIsWritable);
|
||||
}
|
||||
|
||||
public function IsFlagSupported(string $sFlag) : bool
|
||||
{
|
||||
return \in_array('\\*', $this->PermanentFlags) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue