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

@@ -68,8 +68,6 @@
$p = permissions::new();
$p->add('conference_profile_add', 'temp');
$database->app_name = 'conference_profiles';
$database->app_uuid = 'c33e2c2a-847f-44c1-8c0d-310df5d65ba9';
$database->save($array, false);
unset($array);
@@ -94,8 +92,6 @@
$p = permissions::new();
$p->add('conference_profile_param_add', 'temp');
$database->app_name = 'conference_profiles';
$database->app_uuid = 'c33e2c2a-847f-44c1-8c0d-310df5d65ba9';
$database->save($array, false);
unset($array);

View File

@@ -123,8 +123,6 @@
}
if (is_uuid($array['conference_profile_params'][0]['conference_profile_param_uuid'])) {
$database->app_name = 'conference_profiles';
$database->app_uuid = 'c33e2c2a-847f-44c1-8c0d-310df5d65ba9';
$database->save($array);
unset($array);
}