diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 0eea4e92635733e7d541a7d38740a02e40880ebd..98f142a8e56e0f263ffdd4fca37f1bf2ea5deead 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6968,9 +6968,7 @@ static int vm_execmain(struct ast_channel *chan, void *data) /* Set language from config to override channel language */ if (!ast_strlen_zero(vmu->language)) ast_string_field_set(chan, language, vmu->language); -#ifndef IMAP_STORAGE create_dirpath(vms.curdir, sizeof(vms.curdir), vmu->context, vms.username, ""); -#endif /* Retrieve old and new message counts */ ast_debug(1, "Before open_mailbox\n"); res = open_mailbox(&vms, vmu, OLD_FOLDER);