forked from GNUsocial/gnu-social
make enjitqueuehandler use functions and args
This commit is contained in:
parent
0b6f3870ad
commit
6a40ba7764
@ -124,6 +124,8 @@ if (have_option('-i')) {
|
||||
$id = get_option_value('-i');
|
||||
} else if (have_option('--id')) {
|
||||
$id = get_option_value('--id');
|
||||
} else if (count($args) > 0) {
|
||||
$id = $args[0];
|
||||
} else {
|
||||
$id = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user