Skip to content

Commit

Permalink
implement changes requested by ellifm
Browse files Browse the repository at this point in the history
fixed typo
fixed hardcoded version number
  • Loading branch information
MichaelMenge committed Aug 26, 2024
1 parent dfe0ecf commit 066d52d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imap/mboxlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@ static int _rename_check_specialuse(const char *oldname, const char *newname)
strarray_t *check = strarray_split(protect, NULL, STRARRAY_TRIM);
strarray_t *uses = strarray_split(buf_cstring(&attrib), NULL, 0);
if (strarray_intersect_case(uses, check)) {
/* then if llowspecialusesubfolders is not enabled the target must be a single-depth mailbox too */
/* then if allowspecialusesubfolders is not enabled the target must be a single-depth mailbox too */
if (!config_getswitch(IMAPOPT_ALLOWSPECIALUSESUBFOLDER) && strarray_size(mbname_boxes(new)) != 1)
r = IMAP_MAILBOX_SPECIALUSE;
/* and have a userid as well */
Expand Down
2 changes: 1 addition & 1 deletion lib/imapoptions
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ are listed with ``<none>''.
/* Defaults to enabled. If disabled, disallows the use of the SETACL
command at all via IMAP. */

{ "allowspecialusesubfolder", 0, SWITCH, "3.0.14" }
{ "allowspecialusesubfolder", 0, SWITCH, "UNRELEASED" }
/* If enabled, allows special-use folders to be moved into subfolders
.PP
By default, cyrus does not allow a special-use folder to be moved or
Expand Down

0 comments on commit 066d52d

Please sign in to comment.