mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Remove the require once for the modules class as its no longer needed.
This commit is contained in:
@@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
//use the module class to get the list of modules from the db and add any missing modules
|
//use the module class to get the list of modules from the db and add any missing modules
|
||||||
if ($domains_processed == 1) {
|
if ($domains_processed == 1) {
|
||||||
require_once "resources/classes/modules.php";
|
|
||||||
$mod = new switch_modules;
|
$mod = new switch_modules;
|
||||||
$mod->db = $db;
|
$mod->db = $db;
|
||||||
$mod->dir = $_SESSION['switch']['mod']['dir'];
|
$mod->dir = $_SESSION['switch']['mod']['dir'];
|
||||||
|
|||||||
@@ -69,7 +69,6 @@ if (strlen($_GET["a"]) > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//use the module class to get the list of modules from the db and add any missing modules
|
//use the module class to get the list of modules from the db and add any missing modules
|
||||||
require_once "resources/classes/modules.php";
|
|
||||||
$mod = new switch_modules;
|
$mod = new switch_modules;
|
||||||
$mod->db = $db;
|
$mod->db = $db;
|
||||||
$mod->dir = $_SESSION['switch']['mod']['dir'];
|
$mod->dir = $_SESSION['switch']['mod']['dir'];
|
||||||
|
|||||||
Reference in New Issue
Block a user