diff --git a/app/recordings/recordings.php b/app/recordings/recordings.php index f0b9b1d1f1..941c7a374d 100644 --- a/app/recordings/recordings.php +++ b/app/recordings/recordings.php @@ -104,11 +104,6 @@ ob_clean(); fpassthru($fd); } - - //if base64, remove temp recording file - if ($_SESSION['recordings']['storage_type']['text'] == 'base64' && $row['recording_base64'] != '') { - @unlink($full_recording_path); - } } exit; } @@ -246,11 +241,6 @@ } } - //if base64, remove local file - if ($_SESSION['recordings']['storage_type']['text'] == 'base64' && file_exists($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/'.$recording_filename)) { - @unlink($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/'.$recording_filename); - } - } } closedir($dh); @@ -603,4 +593,4 @@ fclose($fp); } -?> \ No newline at end of file +?>