From 42e3a4c17beae9fac665236248c7289f90e930e5 Mon Sep 17 00:00:00 2001 From: mcrane Date: Mon, 10 Aug 2009 22:57:17 -0600 Subject: FreeSWITCH remove echo on recording delete. --- config/freeswitch_dev/v_recordings.tmp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'config/freeswitch_dev') 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') { -- cgit v1.2.3