]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
welcome-plugin: Remove welcome_open_box()
authorMarkus Valentin <markus.valentin@open-xchange.com>
Mon, 9 Jan 2023 14:10:47 +0000 (15:10 +0100)
committermarkus.valentin <markus.valentin@open-xchange.com>
Wed, 25 Jan 2023 12:01:46 +0000 (12:01 +0000)
src/plugins/welcome/welcome-plugin.c

index 1b35acfa89a0635382a702c1106e544380eef943..566f40c98207b0f664947a4d58aff293e27d1837 100644 (file)
@@ -104,13 +104,6 @@ welcome_create_box(struct mailbox *box,
        return 0;
 }
 
-static int welcome_open_box(struct mailbox *box)
-{
-       struct welcome_mailbox *wbox = WELCOME_CONTEXT(box);
-
-       return wbox->module_ctx.super.open(box);
-}
-
 static void welcome_mailbox_allocated(struct mailbox *box)
 {
        struct mailbox_vfuncs *v = box->vlast;
@@ -124,7 +117,6 @@ static void welcome_mailbox_allocated(struct mailbox *box)
        box->vlast = &wbox->module_ctx.super;
 
        v->create_box = welcome_create_box;
-       v->open = welcome_open_box;
        MODULE_CONTEXT_SET(box, welcome_storage_module, wbox);
 }