X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=2abfa0ad9215a71da989c66f6deabe87280d42cd;hb=ad857b43149624998c09f9acc25e61c716041951;hp=b4b265283ccba3d60ea44a38ffc9b6d48c0a92e0;hpb=0700452c498297603a09a37b927ca12bff19836f;p=friendica.git diff --git a/bin/worker.php b/bin/worker.php index b4b265283c..2abfa0ad92 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -24,14 +24,8 @@ if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) { } require_once "boot.php"; -require_once "include/dba.php"; $a = new App(dirname(__DIR__)); -BaseObject::setApp($a); - -require_once ".htconfig.php"; -dba::connect($db_host, $db_user, $db_pass, $db_data); -unset($db_host, $db_user, $db_pass, $db_data); Config::load(); @@ -63,4 +57,3 @@ Worker::unclaimProcess(); Worker::endProcess(); killme(); -