mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +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
|
|
@ -42,9 +42,9 @@ class FolderCollection extends \MailSo\Base\Collection
|
|||
*/
|
||||
public $SystemFolders;
|
||||
|
||||
protected function __construct()
|
||||
function __construct($input = array())
|
||||
{
|
||||
parent::__construct();
|
||||
parent::__construct($input);
|
||||
|
||||
$this->Namespace = '';
|
||||
$this->FoldersHash = '';
|
||||
|
|
@ -53,11 +53,6 @@ class FolderCollection extends \MailSo\Base\Collection
|
|||
$this->Optimized = false;
|
||||
}
|
||||
|
||||
public static function NewInstance() : self
|
||||
{
|
||||
return new self();
|
||||
}
|
||||
|
||||
public function append($oFolder, bool $bToTop = false) : void
|
||||
{
|
||||
assert($oFolder instanceof Folder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue