Remove redundant database instances (#7535)

This commit is contained in:
FusionPBX
2025-10-01 08:56:06 -06:00
committed by GitHub
parent 6fcd0e83c1
commit d1baf05891
204 changed files with 43 additions and 754 deletions

View File

@@ -37,9 +37,6 @@
exit;
}
//connect to the database
$database = new database;
//get posted data
if (!empty($_POST['search'])) {
$search = $_POST['search'];

View File

@@ -29,9 +29,6 @@
require_once "resources/check_auth.php";
require_once "resources/paging.php";
//connect to the database
$database = new database;
//redirect admin to app instead
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php") && !permission_exists('domain_all') && !is_cli()) {
header("Location: ".PROJECT_PATH."/app/domains/domains.php");