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
-2
View File
@@ -4,7 +4,6 @@ if ($domains_processed == 1) {
//add the permissions
$sql = "select * from v_permissions \n";
$database = new database;
$database_permissions = $database->select($sql, null, 'all');
//get the $apps array from the installed apps from the core and mod directories
@@ -50,7 +49,6 @@ if ($domains_processed == 1) {
$p->add('permission_add', 'temp');
//execute insert
$database = new database;
$database->app_name = 'permissions';
$database->app_uuid = 'ce1498a0-46e2-487d-85de-4eec7122a984';
$database->save($array, false);