Page MenuHomePhorge

D5436.1775371611.diff
No OneTemporary

Authored By
Unknown
Size
774 B
Referenced Files
None
Subscribers
None

D5436.1775371611.diff

diff --git a/lib/kolab_sync_storage_kolab4.php b/lib/kolab_sync_storage_kolab4.php
--- a/lib/kolab_sync_storage_kolab4.php
+++ b/lib/kolab_sync_storage_kolab4.php
@@ -145,12 +145,15 @@
}
}
}
- /*
- // TODO
- if ($flat_mode) {
- $list = $this->folders_list_flat($list, $type, $typedata);
- }
- */
+ if ($flat_mode) {
+ $typedata = kolab_storage::folders_typedata();
+ // Can be empty if not a special folder type above
+ if (empty($type)) {
+ $type = self::MODEL_EMAIL;
+ }
+ $list = $this->folders_list_flat($list, $type, $typedata);
+ }
+
return $list;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 5, 6:46 AM (2 d, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18832669
Default Alt Text
D5436.1775371611.diff (774 B)

Event Timeline