summaryrefslogtreecommitdiff
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2010-05-26 20:15:47 +0000
committerMark Michelson <mmichelson@digium.com>2010-05-26 20:15:47 +0000
commit529a87ce7deac5822f559f2877e421877f6043ab (patch)
tree9b9ac88937892263ddb31ee6dd21c8d0e9eb568e /res/res_musiconhold.c
parent8999372c33c0f188bd92eff24892302ede1bf6ad (diff)
Remove unrelated MOH change from previous commit.
Thanks Kevin! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_musiconhold.c')
-rw-r--r--res/res_musiconhold.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 5527109c4..4d2c9ec49 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -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;
}