1
1
Fork 0

Some code cleanup

This commit is contained in:
Michael 2018-07-24 04:15:19 +00:00
parent de984cdaa1
commit 716b959e33

View file

@ -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