]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 91292 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 5 Dec 2007 22:57:57 +0000 (22:57 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 5 Dec 2007 22:57:57 +0000 (22:57 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r91292 | mmichelson | 2007-12-05 16:57:13 -0600 (Wed, 05 Dec 2007) | 3 lines

Reverting extra stuff I didn't mean to commit

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91293 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 7ceef6eb616984692070131866d178e35c165d3f..774272e2b55034c206763c0641977385df40cb39 100644 (file)
@@ -6956,7 +6956,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 */
        ast_debug(1, "Before open_mailbox\n");
        res = open_mailbox(&vms, vmu, OLD_FOLDER);