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:
@@ -101,8 +101,6 @@ if ($domains_processed == 1) {
|
||||
|
||||
//execute insert
|
||||
if (!empty($array)) {
|
||||
$database->app_name = 'vars';
|
||||
$database->app_uuid = '54e08402-c1b8-0a9d-a30a-f569fc174dd8';
|
||||
$database->save($array, false);
|
||||
}
|
||||
|
||||
@@ -198,8 +196,6 @@ if ($domains_processed == 1) {
|
||||
$p->add("var_add", "temp");
|
||||
|
||||
//execute inserts
|
||||
$database->app_name = 'vars';
|
||||
$database->app_uuid = '54e08402-c1b8-0a9d-a30a-f569fc174dd8';
|
||||
$database->save($array, false);
|
||||
unset($array);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user