mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix temporary permissions
This commit is contained in:
@@ -93,7 +93,7 @@ if ($domains_processed == 1) {
|
||||
$array['music_on_hold'][0]['music_on_hold_chime_max'] = isset($chime_max) ? $chime_max : null;
|
||||
$array['music_on_hold'][0]['music_on_hold_path'] = $stream_path;
|
||||
|
||||
$p = new permissions;
|
||||
$p = permissions::new();
|
||||
$p->add('music_on_hold_add', 'temp');
|
||||
|
||||
$database->app_name = 'app_name';
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
$array['music_on_hold'][0]['music_on_hold_chime_freq'] = null;
|
||||
$array['music_on_hold'][0]['music_on_hold_chime_max'] = null;
|
||||
|
||||
$p = new permissions;
|
||||
$p = permissions::new();
|
||||
$p->add('music_on_hold_add', 'temp');
|
||||
|
||||
$database = new database;
|
||||
|
||||
@@ -301,7 +301,7 @@ if (!class_exists('switch_music_on_hold')) {
|
||||
//view_array($array, false);
|
||||
|
||||
//save the data
|
||||
$p = new permissions;
|
||||
$p = permissions::new();
|
||||
$p->add('music_on_hold_add', 'temp');
|
||||
|
||||
$database = new database;
|
||||
|
||||
Reference in New Issue
Block a user