Update music_on_hold_delete.php

This commit is contained in:
FusionPBX
2018-01-11 13:43:23 -07:00
committed by GitHub
parent ace2d9d926
commit 19dd0fecff

View File

@@ -56,6 +56,14 @@
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
messages::add($text['message-delete']);
header('Location: music_on_hold.php');