瀏覽代碼

Remove unecessary added Config::load()

tags/2018.05
Hypolite Petovan 2 年之前
父節點
當前提交
b40461975a
共有 2 個文件被更改,包括 0 次插入4 次删除
  1. +0
    -2
      scripts/auth_ejabberd.php
  2. +0
    -2
      scripts/dbstructure.php

+ 0
- 2
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();

+ 0
- 2
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":


Loading…
取消
儲存