]> git.mxchange.org Git - friendica.git/commitdiff
Some code cleanup
authorMichael <heluecht@pirati.ca>
Tue, 24 Jul 2018 04:15:19 +0000 (04:15 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 24 Jul 2018 04:15:19 +0000 (04:15 +0000)
bin/worker.php

index 0f8dd98adb89cc82babf034d5ac23c59022c9da3..d821fe626a6b47183ed6937df97544f385af8b33 100755 (executable)
@@ -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