]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Reverting extra stuff I didn't mean to commit
authorMark Michelson <mmichelson@digium.com>
Wed, 5 Dec 2007 22:57:13 +0000 (22:57 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 5 Dec 2007 22:57:13 +0000 (22:57 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@91292 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 7b18aef3f1474924627493bed7de8de0129104a7..b124de468cc4e3043247f43111a516c1ffc169a7 100644 (file)
@@ -6493,7 +6493,9 @@ 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");