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:
@@ -243,8 +243,6 @@
|
||||
}
|
||||
|
||||
//execute insert/update
|
||||
$database->app_name = 'voicemails';
|
||||
$database->app_uuid = 'b523c2d2-64cd-46f1-9520-ca4b4098e044';
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
|
||||
@@ -45,9 +45,6 @@
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//set up database object
|
||||
$database = database::new();
|
||||
|
||||
//get the settings
|
||||
$settings = new settings(['database' => $database, 'domain_uuid' => $_SESSION['domain_uuid'] ?? '', 'user_uuid' => $_SESSION['user_uuid'] ?? '']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user