Fix "o'clock" from being said twice in French. #6900 (casper)
authorBJ Weschke <bweschke@btwtech.com>
Wed, 3 May 2006 22:53:38 +0000 (22:53 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Wed, 3 May 2006 22:53:38 +0000 (22:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24640 65c4cc65-6c06-0410-ace0-fbb531ad65f3

say.c

diff --git a/say.c b/say.c
index 8cc1f58..d50bb11 100644 (file)
--- a/say.c
+++ b/say.c
@@ -4082,11 +4082,6 @@ int ast_say_date_with_format_fr(struct ast_channel *chan, time_t time, const cha
                        case 'k':
                                /* 24-Hour */
                                res = ast_say_number(chan, tm.tm_hour, ints, lang, (char * ) NULL);
-                               if (!res) {
-                                       if (format[offset] == 'H') {
-                                               res = wait_file(chan,ints, "digits/oclock",lang);
-                                       }
-                               }
                                if (!res)
                                        res = wait_file(chan,ints, "digits/oclock",lang);
                                break;