mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
New logic for storage provider (breaking changes)
This commit is contained in:
parent
44566aad4b
commit
51666d7c7e
19 changed files with 453 additions and 297 deletions
|
|
@ -9,12 +9,18 @@ class Settings
|
|||
*/
|
||||
protected $aData;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $bLocal;
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
public function __construct($bLocal = false)
|
||||
{
|
||||
$this->aData = array();
|
||||
$this->bLocal = !!$bLocal;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -40,6 +46,14 @@ class Settings
|
|||
return $this->aData;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function IsLocal()
|
||||
{
|
||||
return $this->bLocal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sName
|
||||
* @param mixed $mDefValue = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue