Page MenuHomePhorge

D5436.1775572331.diff
No OneTemporary

Authored By
Unknown
Size
774 B
Referenced Files
None
Subscribers
None

D5436.1775572331.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
Tue, Apr 7, 2:32 PM (2 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18832669
Default Alt Text
D5436.1775572331.diff (774 B)

Event Timeline