]> 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>
Thu, 2 Feb 2023 07:20:11 +0000 (08:20 +0100)
src/plugins/welcome/welcome-plugin.c

index c8653218a948d7eb28be585227566173f605779b..8c78f54bb6e436b218662b8d9036884fff8372e5 100644 (file)
@@ -99,13 +99,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;
@@ -119,7 +112,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);
 }