From: Markus Valentin Date: Mon, 9 Jan 2023 14:10:47 +0000 (+0100) Subject: welcome-plugin: Remove welcome_open_box() X-Git-Tag: 2.3.21~114 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc1d871a382b2cf99720f34a8208b12f90b836a4;p=thirdparty%2Fdovecot%2Fcore.git welcome-plugin: Remove welcome_open_box() --- diff --git a/src/plugins/welcome/welcome-plugin.c b/src/plugins/welcome/welcome-plugin.c index c8653218a9..8c78f54bb6 100644 --- a/src/plugins/welcome/welcome-plugin.c +++ b/src/plugins/welcome/welcome-plugin.c @@ -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); }