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

@@ -30,7 +30,6 @@ if ($domains_processed == 1) {
//update the notifications table
//if (is_array($_SESSION['switch']['scripts'])) {
// $sql = "select count(*) from v_notifications ";
// $database = new database;
// $num_rows = $database->select($sql, null, 'column');
// if ($num_rows == 0) {
// //build insert array
@@ -40,7 +39,6 @@ if ($domains_processed == 1) {
// $p = new permissions;
// $p->add('notification_add', 'temp');
// //execute insert
// $database = new database;
// $database->app_name = 'notifications';
// $database->app_uuid = 'e746fbcb-f67f-4e0e-ab64-c414c01fac11';
// $database->save($array, false);