Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2018-10-23 22:33:44 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2019-01-25 22:36:37 +0300
commit5b779859a45b38ef6c14e5228c60f93f33582b99 (patch)
treeb9437d28e0ab5aed3e2517a576d0aa2466dd3757 /lib
parent8b329d05559c5a1cc26b82394f072f6cb878663d (diff)
Allow to select a default calendar
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/SettingsService.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Service/SettingsService.php b/lib/Service/SettingsService.php
index 3308c1cc..14686f2c 100644
--- a/lib/Service/SettingsService.php
+++ b/lib/Service/SettingsService.php
@@ -43,6 +43,7 @@ class SettingsService {
*/
public function get() {
$settings = array(
+ 'defaultCalendarUri' => (string)$this->settings->getUserValue($this->userId, $this->appName,'various_defaultCalendarUri'),
'showHidden' => (int)$this->settings->getUserValue($this->userId, $this->appName,'various_showHidden'),
'sortOrder' => (string)$this->settings->getUserValue($this->userId, $this->appName,'various_sortOrder'),
'sortDirection' => (bool)$this->settings->getUserValue($this->userId, $this->appName,'various_sortDirection'),