From 73e3cb6ce1150239e031284a5a32dc0084c41011 Mon Sep 17 00:00:00 2001 From: fusionate Date: Tue, 7 Nov 2023 00:56:19 +0000 Subject: [PATCH] Conference Center - Edit: Remove temporary code, clean up. --- app/conference_centers/conference_center_edit.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/conference_centers/conference_center_edit.php b/app/conference_centers/conference_center_edit.php index 7f45da8676..61de395b83 100644 --- a/app/conference_centers/conference_center_edit.php +++ b/app/conference_centers/conference_center_edit.php @@ -382,11 +382,7 @@ if (!empty($instance_value) && $instance_value == $row["value"]) { $selected = "selected='selected'"; if ($key == 'recordings') { - echo "\n"; - if (!empty($sounds->full_path) && is_array($sounds->full_path) && in_array('recordings', $sounds->full_path)) { - $row["value"] = str_replace($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/','',$row["value"]); - } - $playable = '../recordings/recordings.php?action=download&type=rec&filename='.$row["value"]; + $playable = '../recordings/recordings.php?action=download&type=rec&filename='.str_replace($_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/','',$row["value"]); } else if ($key == 'sounds') { $playable = '../switch/sounds.php?action=download&filename='.$row["value"];