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:
FusionPBX
2025-10-09 17:54:05 -06:00
committed by GitHub
parent d59eab1f94
commit 76e2e7d3b7
109 changed files with 27 additions and 425 deletions

View File

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

View File

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