Remove base64 delete.

This commit is contained in:
FusionPBX
2020-09-17 09:30:50 -06:00
committed by GitHub
parent 95d3684cd1
commit 763945afad

View File

@@ -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);
}
?>
?>