Page MenuHomePhorge

D5598.1775231852.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D5598.1775231852.diff

diff --git a/docker/roundcube/rootfs/opt/app-root/src/roundcubemail-config-templates/kolab.inc.php b/docker/roundcube/rootfs/opt/app-root/src/roundcubemail-config-templates/kolab.inc.php
--- a/docker/roundcube/rootfs/opt/app-root/src/roundcubemail-config-templates/kolab.inc.php
+++ b/docker/roundcube/rootfs/opt/app-root/src/roundcubemail-config-templates/kolab.inc.php
@@ -49,6 +49,10 @@
];
$config['configuration-overlays']['groupware'] = [
+ 'plugins' => ['calendar', 'kolab_files', 'kolab_addressbook', 'kolab_tags', 'tasklist']
+];
+
+$config['configuration-overlays']['groupware-kolabobjects'] = [
'plugins' => ['calendar', 'kolab_files', 'kolab_addressbook', 'kolab_tags', 'kolab_notes', 'tasklist']
];
diff --git a/src/app/Http/Controllers/API/V4/ConfigController.php b/src/app/Http/Controllers/API/V4/ConfigController.php
--- a/src/app/Http/Controllers/API/V4/ConfigController.php
+++ b/src/app/Http/Controllers/API/V4/ConfigController.php
@@ -45,7 +45,11 @@
}
if (in_array('groupware', $skus)) {
- $config['kolab-configuration-overlays'][] = 'groupware';
+ if ((bool) $user->getSetting('kolabobjects_storage')) {
+ $config['kolab-configuration-overlays'][] = 'groupware-kolabobjects';
+ } else {
+ $config['kolab-configuration-overlays'][] = 'groupware';
+ }
}
if ($debug_setting = $user->settings()->where('key', 'debug')->first()) {

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 3, 3:57 PM (21 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18824411
Default Alt Text
D5598.1775231852.diff (1 KB)

Event Timeline