From b40461975a0e3091a375120c73048ec672e7cd5f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 7 Mar 2018 12:45:30 -0500 Subject: [PATCH] Remove unecessary added Config::load() --- scripts/auth_ejabberd.php | 2 -- scripts/dbstructure.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/scripts/auth_ejabberd.php b/scripts/auth_ejabberd.php index 5ca4f5851..32aa30898 100755 --- a/scripts/auth_ejabberd.php +++ b/scripts/auth_ejabberd.php @@ -61,8 +61,6 @@ BaseObject::setApp($a); dba::connect($db_host, $db_user, $db_pass, $db_data); unset($db_host, $db_user, $db_pass, $db_data); -Config::load(); - $oAuth = new ExAuth(); $oAuth->readStdin(); diff --git a/scripts/dbstructure.php b/scripts/dbstructure.php index ae9ab46f8..ff5b53c62 100755 --- a/scripts/dbstructure.php +++ b/scripts/dbstructure.php @@ -19,8 +19,6 @@ BaseObject::setApp($a); dba::connect($db_host, $db_user, $db_pass, $db_data); unset($db_host, $db_user, $db_pass, $db_data); -Config::load(); - if ($_SERVER["argc"] == 2) { switch ($_SERVER["argv"][1]) { case "dryrun":