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

@@ -28,7 +28,6 @@
//add the music_on_hold list to the database
$sql = "select count(*) from v_conference_profiles; ";
$database = new database;
$num_rows = $database->select($sql, null, 'column');
if ($num_rows == 0) {
@@ -69,7 +68,6 @@
$p = new permissions;
$p->add('conference_profile_add', 'temp');
$database = new database;
$database->app_name = 'conference_profiles';
$database->app_uuid = 'c33e2c2a-847f-44c1-8c0d-310df5d65ba9';
$database->save($array, false);
@@ -96,7 +94,6 @@
$p = new permissions;
$p->add('conference_profile_param_add', 'temp');
$database = new database;
$database->app_name = 'conference_profiles';
$database->app_uuid = 'c33e2c2a-847f-44c1-8c0d-310df5d65ba9';
$database->save($array, false);