BugFix-remove-legacy-warning (#1638)

changed switch_music_on_hold->select to be more inline of usage
changed extension_edit to use new format
changed call_center_queue_edit to use new format while
https://github.com/fusionpbx/fusionpbx/pull/1637 is in testing
This commit is contained in:
Mafoo
2016-06-08 22:15:36 +01:00
committed by FusionPBX
parent 7e024a5521
commit 27dc84b3b8
3 changed files with 17 additions and 32 deletions

View File

@@ -1786,10 +1786,8 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "<td width=\"70%\" class='vtable' align='left'>\n";
require_once "app/music_on_hold/resources/classes/switch_music_on_hold.php";
$moh= new switch_music_on_hold;
$moh->select_name = "hold_music";
$moh->select_value = $hold_music;
echo $moh->select();
$moh = new switch_music_on_hold;
echo $moh->select('hold_music', $hold_music);
echo " <br />\n";
echo $text['description-hold_music']."\n";
echo "</td>\n";