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

@@ -155,8 +155,6 @@ if ($domains_processed == 1) {
$p->add("default_setting_edit", 'temp');
//save to the data
$database->app_name = 'default_setting';
$database->app_uuid = '2c2453c0-1bea-4475-9f44-4d969650de09';
$database->save($array, false);
unset($array);
@@ -205,8 +203,6 @@ if ($domains_processed == 1) {
$p->add("email_template_edit", 'temp');
//save to the data
$database->app_name = 'email_templates';
$database->app_uuid = '8173e738-2523-46d5-8943-13883befd2fd';
$database->save($array, false);
unset($array);

View File

@@ -347,8 +347,6 @@
if ($row_id === 1000) {
//save to the data
$database->app_name = 'users';
$database->app_uuid = '4efa1a1a-32e7-bf83-534b-6c8299958a8e';
$database->save($array);
//$message = $database->message;
@@ -373,8 +371,6 @@
//save to the data
if (!empty($array)) {
$database->app_name = 'users';
$database->app_uuid = '4efa1a1a-32e7-bf83-534b-6c8299958a8e';
$database->save($array);
//$message = $database->message;
unset($array);