aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/app_voicemail.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index cd0aa21f1..fec54fcab 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -6508,9 +6508,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 */
if (option_debug)
ast_log(LOG_DEBUG, "Before open_mailbox\n");