diff options
author | mcrane <mctch@yahoo.com> | 2009-08-10 22:57:17 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-08-10 22:57:17 -0600 |
commit | 42e3a4c17beae9fac665236248c7289f90e930e5 (patch) | |
tree | cbd4c201df0a704a0a4f99698b55fe0834620d95 /config | |
parent | 0e1c1a0aa4190a4658562c327f4eb57280bc339b (diff) | |
download | pfsense-packages-42e3a4c17beae9fac665236248c7289f90e930e5.tar.gz pfsense-packages-42e3a4c17beae9fac665236248c7289f90e930e5.tar.bz2 pfsense-packages-42e3a4c17beae9fac665236248c7289f90e930e5.zip |
FreeSWITCH remove echo on recording delete.
Diffstat (limited to 'config')
-rw-r--r-- | config/freeswitch_dev/v_recordings.tmp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/freeswitch_dev/v_recordings.tmp b/config/freeswitch_dev/v_recordings.tmp index 1d0d485e..b8b58419 100644 --- a/config/freeswitch_dev/v_recordings.tmp +++ b/config/freeswitch_dev/v_recordings.tmp @@ -116,14 +116,13 @@ if (($_POST['submit'] == "Upload") && is_uploaded_file($_FILES['ulfile']['tmp_na if ($_GET['act'] == "del") { if ($_GET['type'] == 'rec') { - //if ($_GET['id']) { - echo "id: ".$_GET['id']; + if ($_GET['id']) { unlink_if_exists($v_recordings_dir."/".$_GET['filename']); unset($a_recordings[$_GET['id']]); write_config(); header("Location: v_recordings.php"); exit; - //} + } } if ($_GET['type'] == 'moh') { |