Update music_on_hold_delete.php

This commit is contained in:
FusionPBX 2018-01-11 13:43:23 -07:00 committed by GitHub
parent cedcdef874
commit 1085ef9093
1 changed files with 8 additions and 0 deletions

View File

@ -56,6 +56,14 @@
unset($sql); unset($sql);
} }
//clear the cache
$cache = new cache;
$cache->delete("configuration:local_stream.conf");
//reload mod local stream
$music = new switch_music_on_hold;
$music->reload();
//redirect the user //redirect the user
messages::add($text['message-delete']); messages::add($text['message-delete']);
header('Location: music_on_hold.php'); header('Location: music_on_hold.php');