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

@@ -31,7 +31,6 @@ if ($domains_processed == 1) {
//update the software table
$sql = "select software_version from v_software ";
$database = new database;
$software_version = $database->select($sql, null, 'column');
if (empty($software_version)) {
$array['software'][0]['software_uuid'] = '7de057e7-333b-4ebf-9466-315ae7d44efd';
@@ -52,7 +51,6 @@ if ($domains_processed == 1) {
$p->add("software_edit", 'temp');
//save the data
$database = new database;
$database->app_name = 'software';
$database->app_uuid = 'b88c795f-7dea-4fc8-9ab7-edd555242cff';
$database->save($array, false);