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
-8
View File
@@ -97,8 +97,6 @@ if ($domains_processed == 1) {
$p->add('voicemail_greeting_add', 'temp');
//execute update
$database->app_name = 'voicemail_greetings';
$database->app_uuid = 'e4b4fbee-9e4d-8e46-3810-91ba663db0c2';
$message = $database->save($array, false);
unset($array);
@@ -128,8 +126,6 @@ if ($domains_processed == 1) {
$p->add('voicemail_greeting_edit', 'temp');
//execute
$database->app_name = 'voicemail_greetings';
$database->app_uuid = 'e4b4fbee-9e4d-8e46-3810-91ba663db0c2';
$database->save($array, false);
unset($array);
@@ -176,8 +172,6 @@ if ($domains_processed == 1) {
$p->add('voicemail_greeting_edit', 'temp');
//execute update
$database->app_name = 'voicemail_greetings';
$database->app_uuid = 'e4b4fbee-9e4d-8e46-3810-91ba663db0c2';
$database->save($array, false);
unset($array);
@@ -223,8 +217,6 @@ if ($domains_processed == 1) {
$p->add('voicemail_greeting_edit', 'temp');
//execute update
$database->app_name = 'voicemail_greetings';
$database->app_uuid = 'e4b4fbee-9e4d-8e46-3810-91ba663db0c2';
$database->save($array, false);
unset($array);
@@ -216,8 +216,6 @@
$p->add('voicemail_greeting_edit', 'temp');
//execute inserts/updates
$database->app_name = 'voicemail_greetings';
$database->app_uuid = 'e4b4fbee-9e4d-8e46-3810-91ba663db0c2';
$database->save($array);
unset($array);