Remove the require once for the modules class as its no longer needed.

This commit is contained in:
Mark Crane
2014-11-23 09:38:19 +00:00
parent ea52b98700
commit ed2e1da871
2 changed files with 0 additions and 2 deletions

View File

@@ -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'];

View File

@@ -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'];