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:
@@ -155,8 +155,6 @@ if ($domains_processed == 1) {
|
||||
$p->add("default_setting_edit", 'temp');
|
||||
|
||||
//save to the data
|
||||
$database->app_name = 'default_setting';
|
||||
$database->app_uuid = '2c2453c0-1bea-4475-9f44-4d969650de09';
|
||||
$database->save($array, false);
|
||||
unset($array);
|
||||
|
||||
@@ -205,8 +203,6 @@ if ($domains_processed == 1) {
|
||||
$p->add("email_template_edit", 'temp');
|
||||
|
||||
//save to the data
|
||||
$database->app_name = 'email_templates';
|
||||
$database->app_uuid = '8173e738-2523-46d5-8943-13883befd2fd';
|
||||
$database->save($array, false);
|
||||
unset($array);
|
||||
|
||||
|
||||
@@ -347,8 +347,6 @@
|
||||
if ($row_id === 1000) {
|
||||
|
||||
//save to the data
|
||||
$database->app_name = 'users';
|
||||
$database->app_uuid = '4efa1a1a-32e7-bf83-534b-6c8299958a8e';
|
||||
$database->save($array);
|
||||
//$message = $database->message;
|
||||
|
||||
@@ -373,8 +371,6 @@
|
||||
|
||||
//save to the data
|
||||
if (!empty($array)) {
|
||||
$database->app_name = 'users';
|
||||
$database->app_uuid = '4efa1a1a-32e7-bf83-534b-6c8299958a8e';
|
||||
$database->save($array);
|
||||
//$message = $database->message;
|
||||
unset($array);
|
||||
|
||||
Reference in New Issue
Block a user