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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

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');