From: rabuzarus Date: Tue, 19 Jun 2018 12:45:43 +0000 (+0200) Subject: worker.php - fix missing use statement X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ffd3ff4c690b96dc6de90caa8fee8fa5e26e79e0;p=friendica.git worker.php - fix missing use statement --- diff --git a/mod/worker.php b/mod/worker.php index 7b2acad6cd..5659d825e7 100644 --- a/mod/worker.php +++ b/mod/worker.php @@ -6,8 +6,10 @@ use Friendica\Core\Config; use Friendica\Core\Worker; +use Friendica\Util\DateTimeFormat; -function worker_init(){ +function worker_init() +{ if (!Config::get("system", "frontend_worker")) { return; @@ -35,7 +37,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);