fix creating an empty configuration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
5c05a9327c
commit
9a1f706ae4
|
@ -35,11 +35,13 @@ namespace OCA\User_LDAP;
|
||||||
* @property int ldapPagingSize holds an integer
|
* @property int ldapPagingSize holds an integer
|
||||||
*/
|
*/
|
||||||
class Configuration {
|
class Configuration {
|
||||||
|
|
||||||
protected $configPrefix = null;
|
protected $configPrefix = null;
|
||||||
protected $configRead = false;
|
protected $configRead = false;
|
||||||
/** @var string[] */
|
/**
|
||||||
protected $unsavedChanges = [];
|
* @var string[] pre-filled with one reference key so that at least one entry is written on save request and
|
||||||
|
* the config ID is registered
|
||||||
|
*/
|
||||||
|
protected $unsavedChanges = ['ldapConfigurationActive' => 'ldapConfigurationActive'];
|
||||||
|
|
||||||
//settings
|
//settings
|
||||||
protected $config = array(
|
protected $config = array(
|
||||||
|
|
Loading…
Reference in New Issue