mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +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:
@@ -155,8 +155,6 @@
|
||||
$array['device_vendor_functions'][0]['enabled'] = $enabled;
|
||||
$array['device_vendor_functions'][0]['description'] = $description;
|
||||
|
||||
$database->app_name = 'devices';
|
||||
$database->app_uuid = '4efa1a1a-32e7-bf83-534b-6c8299958a8e';
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
}
|
||||
@@ -181,8 +179,6 @@
|
||||
$p = permissions::new();
|
||||
$p->add('device_vendor_function_group_add', 'temp');
|
||||
|
||||
$database->app_name = 'devices';
|
||||
$database->app_uuid = '4efa1a1a-32e7-bf83-534b-6c8299958a8e';
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user