From 716b959e3307b1bcd9107483c498c6179f4e095f Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 24 Jul 2018 04:15:19 +0000 Subject: [PATCH] Some code cleanup --- bin/worker.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/worker.php b/bin/worker.php index 0f8dd98adb..d821fe626a 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -11,9 +11,8 @@ use Friendica\Core\Config; use Friendica\Core\Worker; // Get options -$shortopts = ''; -$shortopts .= 'sc'; -$longopts = [ 'spawn', 'cron' ]; +$shortopts = 'sc'; +$longopts = ['spawn', 'cron']; $options = getopt($shortopts, $longopts); // Ensure that worker.php is executed from the base path of the installation