mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve issue #5
This commit is contained in:
parent
dc6b7e250e
commit
5009adfb60
20 changed files with 32 additions and 32 deletions
|
|
@ -27,7 +27,7 @@ class CustomSystemFoldersPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
*/
|
||||
private $sArchiveFolder = '';
|
||||
|
||||
public function Init()
|
||||
public function Init() : void
|
||||
{
|
||||
$this->sSentFolder = \trim($this->Config()->Get('plugin', 'sent_folder', ''));
|
||||
$this->sDraftsFolder = \trim($this->Config()->Get('plugin', 'drafts_folder', ''));
|
||||
|
|
@ -121,7 +121,7 @@ class CustomSystemFoldersPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function configMapping()
|
||||
protected function configMapping() : array
|
||||
{
|
||||
return array(
|
||||
\RainLoop\Plugins\Property::NewInstance('sent_folder')->SetLabel('Sent')
|
||||
|
|
@ -136,4 +136,4 @@ class CustomSystemFoldersPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
->SetDefaultValue('Archive')
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue