mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-26 00:23:33 +03:00
Set default notifications setting value for the installation admin.
This commit is contained in:
parent
185686d194
commit
529e418589
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ class Installation extends CI_Controller {
|
|||
$admin['timezone'] = 'UTC';
|
||||
$admin['settings']['username'] = $admin['username'];
|
||||
$admin['settings']['password'] = $admin['password'];
|
||||
$admin['settings']['notifications'] = true;
|
||||
$admin['settings']['calendar_view'] = CALENDAR_VIEW_DEFAULT;
|
||||
unset($admin['username'], $admin['password']);
|
||||
$admin['id'] = $this->admins_model->add($admin);
|
||||
|
|
Loading…
Reference in a new issue