diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-06-22 15:43:26 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-06-22 15:43:26 -0700 |
commit | 6a40ba776477ec6e70a523fd3c5a4122a72c3208 (patch) | |
tree | e3dcdef4ad4c326bae49cf0a57024ed6f1b539e5 /scripts | |
parent | 0b6f3870ad1f77594e8f6dda18465188400aa2e5 (diff) |
make enjitqueuehandler use functions and args
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/enjitqueuehandler.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/enjitqueuehandler.php b/scripts/enjitqueuehandler.php index 2418d2d1c..509134765 100755 --- a/scripts/enjitqueuehandler.php +++ b/scripts/enjitqueuehandler.php @@ -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; } |