Remove the require once for the modules class as its no longer needed.
This commit is contained in:
parent
ea52b98700
commit
ed2e1da871
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
//use the module class to get the list of modules from the db and add any missing modules
|
||||
if ($domains_processed == 1) {
|
||||
require_once "resources/classes/modules.php";
|
||||
$mod = new switch_modules;
|
||||
$mod->db = $db;
|
||||
$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
|
||||
require_once "resources/classes/modules.php";
|
||||
$mod = new switch_modules;
|
||||
$mod->db = $db;
|
||||
$mod->dir = $_SESSION['switch']['mod']['dir'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue