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