mirror of
https://github.com/friendica/friendica
synced 2024-11-17 23:43:40 +00:00
Some code cleanup
This commit is contained in:
parent
de984cdaa1
commit
716b959e33
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue