]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
acl: Don't use root directory's dovecot-acl file as the default acl. With Maildir...
authorTimo Sirainen <tss@iki.fi>
Thu, 2 Apr 2009 19:48:55 +0000 (15:48 -0400)
committerTimo Sirainen <tss@iki.fi>
Thu, 2 Apr 2009 19:48:55 +0000 (15:48 -0400)
--HG--
branch : HEAD

src/plugins/acl/acl-backend-vfile.c

index 33d40015b7adc29b2a4a6e53842065345a9a9fb8..4c59b4ce14219817cfee0f043ea172962630c1a2 100644 (file)
@@ -152,8 +152,7 @@ acl_backend_vfile_object_init(struct acl_backend *_backend,
 
        if (storage == NULL) {
                /* the default ACL for mailbox list */
-               dir = mailbox_list_get_path(_backend->list, NULL,
-                                           MAILBOX_LIST_PATH_TYPE_DIR);
+               dir = NULL;
        } else {
                dir = acl_backend_vfile_get_local_dir(storage, name);
        }