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
-2
View File
@@ -243,8 +243,6 @@
}
//execute insert/update
$database->app_name = 'voicemails';
$database->app_uuid = 'b523c2d2-64cd-46f1-9520-ca4b4098e044';
$database->save($array);
unset($array);
-3
View File
@@ -45,9 +45,6 @@
$language = new text;
$text = $language->get();
//set up database object
$database = database::new();
//get the settings
$settings = new settings(['database' => $database, 'domain_uuid' => $_SESSION['domain_uuid'] ?? '', 'user_uuid' => $_SESSION['user_uuid'] ?? '']);