]> git.mxchange.org Git - friendica.git/blobdiff - mod/worker.php
Just some more fixed notice
[friendica.git] / mod / worker.php
index 7b2acad6cdc10dcf6b464ef319e6d6a3221f0fb2..da354445f4588b24c7396fc18dbe1ee56647af71 100644 (file)
@@ -6,8 +6,11 @@
 
 use Friendica\Core\Config;
 use Friendica\Core\Worker;
+use Friendica\Database\dba;
+use Friendica\Util\DateTimeFormat;
 
-function worker_init(){
+function worker_init()
+{
 
        if (!Config::get("system", "frontend_worker")) {
                return;
@@ -35,7 +38,6 @@ function worker_init(){
        Worker::callWorker();
 
        if ($r = Worker::workerProcess()) {
-
                // On most configurations this parameter wouldn't have any effect.
                // But since it doesn't destroy anything, we just try to get more execution time in any way.
                set_time_limit(0);