mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Remove database app_name and app_uuid (#7562)
- Remove database app_name, app_uuid - This is handled automatically by the database class - Remove redundant database::new()
This commit is contained in:
@@ -174,8 +174,6 @@
|
||||
$p->add('dialplan_add', 'temp');
|
||||
$p->add('dialplan_detail_add', 'temp');
|
||||
|
||||
$database->app_name = 'dialplans';
|
||||
$database->app_uuid = '742714e5-8cdf-32fd-462c-cbe7e3d655db';
|
||||
$database->save($array, false);
|
||||
unset($array);
|
||||
|
||||
|
||||
@@ -312,9 +312,6 @@
|
||||
$array['dialplans'][$x]['dialplan_xml'] = $dialplan_array[$dialplan_uuid];
|
||||
|
||||
//add or update the database
|
||||
$database->app_name = 'dialplans';
|
||||
$database->app_uuid = $app_uuid ?? null;
|
||||
$database->uuid($dialplan_uuid);
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user