Sfoglia il codice sorgente

Remove unecessary added Config::load()

tags/2018.05
Hypolite Petovan 2 anni fa
parent
commit
b40461975a
2 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. +0
    -2
      scripts/auth_ejabberd.php
  2. +0
    -2
      scripts/dbstructure.php

+ 0
- 2
scripts/auth_ejabberd.php Vedi 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 Vedi 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…
Annulla
Salva