Remove unecessary added Config::load()
This commit is contained in:
parent
7e765199e8
commit
b40461975a
2 changed files with 0 additions and 4 deletions
|
@ -61,8 +61,6 @@ BaseObject::setApp($a);
|
||||||
dba::connect($db_host, $db_user, $db_pass, $db_data);
|
dba::connect($db_host, $db_user, $db_pass, $db_data);
|
||||||
unset($db_host, $db_user, $db_pass, $db_data);
|
unset($db_host, $db_user, $db_pass, $db_data);
|
||||||
|
|
||||||
Config::load();
|
|
||||||
|
|
||||||
$oAuth = new ExAuth();
|
$oAuth = new ExAuth();
|
||||||
|
|
||||||
$oAuth->readStdin();
|
$oAuth->readStdin();
|
||||||
|
|
|
@ -19,8 +19,6 @@ BaseObject::setApp($a);
|
||||||
dba::connect($db_host, $db_user, $db_pass, $db_data);
|
dba::connect($db_host, $db_user, $db_pass, $db_data);
|
||||||
unset($db_host, $db_user, $db_pass, $db_data);
|
unset($db_host, $db_user, $db_pass, $db_data);
|
||||||
|
|
||||||
Config::load();
|
|
||||||
|
|
||||||
if ($_SERVER["argc"] == 2) {
|
if ($_SERVER["argc"] == 2) {
|
||||||
switch ($_SERVER["argv"][1]) {
|
switch ($_SERVER["argv"][1]) {
|
||||||
case "dryrun":
|
case "dryrun":
|
||||||
|
|
Loading…
Reference in a new issue