From f97482aea99acd7e1462ea3f6eb42f6479283497 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 13 Aug 2016 14:09:02 -0600 Subject: [PATCH] Update phrase_edit.php --- app/phrases/phrase_edit.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/phrases/phrase_edit.php b/app/phrases/phrase_edit.php index f0063ef047..bd941adcca 100644 --- a/app/phrases/phrase_edit.php +++ b/app/phrases/phrase_edit.php @@ -337,7 +337,6 @@ } unset($sql, $prep_statement, $recordings); //sounds - //$files = recur_sounds_dir($_SESSION['switch']['sounds']['dir']); $file = new file; $sound_files = $file->sounds(); if (is_array($sound_files)) { @@ -345,12 +344,7 @@ echo "opt_group.label = \"".$text['label-sounds']."\";\n"; foreach ($sound_files as $value) { if (strlen($value) > 0) { - //if ($_SESSION['recordings']['storage_type']['text'] == 'base64') { - // echo "opt_group.appendChild(new Option(\"".$value."\", \"lua(streamfile.lua ".$value.")\"));\n"; - //} - //else { - echo "opt_group.appendChild(new Option(\"".$value."\", \"".$value."\"));\n"; - //} + echo "opt_group.appendChild(new Option(\"".$value."\", \"".$value."\"));\n"; } } echo "obj_action.appendChild(opt_group);\n";