Page MenuHomePhorge

IMAP_WITH_GROUPWARE_DEFAULT_FOLDERS
ClosedPublic

Authored by mollekopf on Jan 4 2024, 9:31 AM.
Tags
None
Referenced Files
F12263865: D4628.diff
Mon, May 20, 12:39 AM
Unknown Object (File)
Sat, May 18, 6:43 PM
Unknown Object (File)
Fri, May 10, 3:41 PM
Unknown Object (File)
Sun, May 5, 5:48 PM
Unknown Object (File)
Sat, May 4, 10:33 PM
Unknown Object (File)
Thu, May 2, 9:19 PM
Unknown Object (File)
Sun, Apr 28, 11:42 AM
Unknown Object (File)
Sun, Apr 28, 5:34 AM
Subscribers

Details

Reviewers
machniak
Group Reviewers
Restricted Project
Commits
rKd62a59539705: IMAP_WITH_GROUPWARE_DEFAULT_FOLDERS
Summary

So we don't have to override the imap config file in the deployment
config.

Diff Detail

Repository
rK kolab
Lint
Lint Skipped
Unit
No Test Coverage
Build Status
Buildable 46289
Build 17825: arc lint + arc unit

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Jan 4 2024, 9:32 AM

This prevents that we have to replace the config/imap.php file, which works but is slightly annoying because we constantly have a modification in the git repo.

machniak added inline comments.
src/config/imap.php
3

What is the reason for a function and this existence check?

src/config/imap.php
3

The reason for the function is because IMO this is a pretty clean way to include that if/else branch in the array. It could be done by assigning to a variable, do the modification, return the variable instead.
The reason for the existence check is because I'm getting "function was declared before" errors otherwise at least during test execution. I did not investigate why exactly, but it wasn't immediately obvious from the backtrace to me (possible first it's included globally, and then loaded again during test execution or so).

This revision is now accepted and ready to land.Jan 7 2024, 8:33 AM
This revision was automatically updated to reflect the committed changes.