Remove redundant database objects

This reduces database connections and improves performance.
This commit is contained in:
FusionPBX
2024-08-05 14:22:17 -06:00
committed by GitHub
parent 00c803f53e
commit cd1cc70044
40 changed files with 0 additions and 169 deletions

View File

@@ -4,7 +4,6 @@ if ($domains_processed == 1) {
//get all of the sofia global default settings
$sql = "select * from v_sofia_global_settings \n";
$database = new database;
$sofia_global_settings = $database->select($sql, null, 'all');
//build array
@@ -74,7 +73,6 @@ if ($domains_processed == 1) {
$p->add('sofia_global_setting_add', 'temp');
//execute insert
$database = new database;
$database->app_name = 'sofia_global_settings';
$database->app_uuid = '240c25a3-a2cf-44ea-a300-0626eca5b945';
$database->save($array, false);