Update music_on_hold_edit.php
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2016
|
Portions created by the Initial Developer are Copyright (C) 2016-2018
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -148,6 +148,10 @@
|
|||||||
$db->exec(check_sql($sql));
|
$db->exec(check_sql($sql));
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
|
//clear the cache
|
||||||
|
$cache = new cache;
|
||||||
|
$cache->delete("configuration:local_stream.conf");
|
||||||
|
|
||||||
//reload mod local stream
|
//reload mod local stream
|
||||||
$music = new switch_music_on_hold;
|
$music = new switch_music_on_hold;
|
||||||
$music->reload();
|
$music->reload();
|
||||||
@@ -186,6 +190,10 @@
|
|||||||
$db->exec(check_sql($sql));
|
$db->exec(check_sql($sql));
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
|
//clear the cache
|
||||||
|
$cache = new cache;
|
||||||
|
$cache->delete("configuration:local_stream.conf");
|
||||||
|
|
||||||
//reload mod local stream
|
//reload mod local stream
|
||||||
$music = new switch_music_on_hold;
|
$music = new switch_music_on_hold;
|
||||||
$music->reload();
|
$music->reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user