mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Do not load base64 data into MOH edit
This will fix unnecessary memory usage/latency in this application when dealing with base64 recordings.
This commit is contained in:
@@ -365,7 +365,7 @@
|
|||||||
*/
|
*/
|
||||||
//recordings
|
//recordings
|
||||||
$tmp_selected = false;
|
$tmp_selected = false;
|
||||||
$sql = "select * from v_recordings where domain_uuid = :domain_uuid ";
|
$sql = "select recording_name, recording_filename from v_recordings where domain_uuid = :domain_uuid ";
|
||||||
$parameters['domain_uuid'] = $domain_uuid;
|
$parameters['domain_uuid'] = $domain_uuid;
|
||||||
$database = new database;
|
$database = new database;
|
||||||
$recordings = $database->select($sql, $parameters, 'all');
|
$recordings = $database->select($sql, $parameters, 'all');
|
||||||
@@ -510,4 +510,4 @@
|
|||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user