From ffd3ff4c690b96dc6de90caa8fee8fa5e26e79e0 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Tue, 19 Jun 2018 14:45:43 +0200 Subject: [PATCH] worker.php - fix missing use statement --- mod/worker.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.39.5