mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -176,8 +176,6 @@
|
||||
}
|
||||
|
||||
if (!empty($array)) {
|
||||
$database->app_name = 'domain_settings';
|
||||
$database->app_uuid = 'b31e723a-bf70-670c-a49b-470d2a232f71';
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
@@ -223,8 +221,6 @@
|
||||
$array['domain_settings'][0]['domain_setting_order'] = $domain_setting_order;
|
||||
$array['domain_settings'][0]['domain_setting_enabled'] = $domain_setting_enabled;
|
||||
$array['domain_settings'][0]['domain_setting_description'] = $domain_setting_description;
|
||||
$database->app_name = 'domain_settings';
|
||||
$database->app_uuid = 'b31e723a-bf70-670c-a49b-470d2a232f71';
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
}
|
||||
@@ -296,8 +292,6 @@
|
||||
|
||||
//execute
|
||||
if (!empty($array)) {
|
||||
$database->app_name = 'domain_settings';
|
||||
$database->app_uuid = 'b31e723a-bf70-670c-a49b-470d2a232f71';
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user