Browse Source

Remove unecessary added Config::load()

tags/2018.05
Hypolite Petovan 2 years ago
parent
commit
b40461975a
2 changed files with 0 additions and 4 deletions
  1. +0
    -2
      scripts/auth_ejabberd.php
  2. +0
    -2
      scripts/dbstructure.php

+ 0
- 2
scripts/auth_ejabberd.php View File

@@ -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();

+ 0
- 2
scripts/dbstructure.php View File

@@ -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":


Loading…
Cancel
Save