]> git.mxchange.org Git - friendica.git/blobdiff - bin/worker.php
Fixed E_NOTICE when no valid result has been returned. (#5457)
[friendica.git] / bin / worker.php
old mode 100644 (file)
new mode 100755 (executable)
index b4b2652..2abfa0a
@@ -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();
-