Remove unrelated MOH change from previous commit.
authorMark Michelson <mmichelson@digium.com>
Wed, 26 May 2010 20:15:47 +0000 (20:15 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 26 May 2010 20:15:47 +0000 (20:15 +0000)
Thanks Kevin!

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

res/res_musiconhold.c

index 5527109..4d2c9ec 100644 (file)
@@ -1443,10 +1443,6 @@ static int local_ast_moh_start(struct ast_channel *chan, const char *mclass, con
                }
        }
 
-       if (ast_test_flag(global_flags, MOH_CACHERTCLASSES)) {
-               mohclass = get_mohbyname(mohclass->name, 0);
-       }
-
        if (!mohclass) {
                return -1;
        }