mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Remove redundant database instances (#7535)
This commit is contained in:
@@ -41,11 +41,6 @@
|
||||
$domain_uuid = $_SESSION['user']['domain_uuid'];
|
||||
}
|
||||
|
||||
//connect to the database
|
||||
if (!isset($database)) {
|
||||
$database = new database;
|
||||
}
|
||||
|
||||
//find the path
|
||||
switch ($_SERVER['REQUEST_URI']) {
|
||||
case PROJECT_PATH."/core/dashboard/index.php":
|
||||
|
||||
Reference in New Issue
Block a user