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

@@ -312,8 +312,6 @@
$p->add('extension_user_delete', 'temp');
//save the array
$database->app_name = 'extensions';
$database->app_uuid = 'e68d9689-2769-e013-28fa-6214bf47fca3';
$database->delete($array);
unset($array);
@@ -339,8 +337,6 @@
$p->add('device_line_delete', 'temp');
//save the array
$database->app_name = 'extensions';
$database->app_uuid = 'e68d9689-2769-e013-28fa-6214bf47fca3';
$database->delete($array);
unset($array);
@@ -831,9 +827,7 @@
unset($sql, $parameters);
}
//save to the data
$database->app_name = 'extensions';
$database->app_uuid = 'e68d9689-2769-e013-28fa-6214bf47fca3';
//save to the data';
$message = $database->save($array);
unset($array);