diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-25 09:36:20 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-25 09:36:20 -0800 |
commit | 055a00bcaeaa50c36143bd151bf4433c5c87d174 (patch) | |
tree | 9a0aaf2f8d0e87e3f688d3627624e376a5242981 | |
parent | c10d5320dd5b308795c5a5bda2441fabfe278a84 (diff) |
drop now-unused --skip-xmpp and --xmpp-only options from queuedaemon.php
-rwxr-xr-x | scripts/queuedaemon.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/queuedaemon.php b/scripts/queuedaemon.php index a9cfda6d7..bedd14b1a 100755 --- a/scripts/queuedaemon.php +++ b/scripts/queuedaemon.php @@ -21,7 +21,7 @@ define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); $shortoptions = 'fi:at:'; -$longoptions = array('id=', 'foreground', 'all', 'threads=', 'skip-xmpp', 'xmpp-only'); +$longoptions = array('id=', 'foreground', 'all', 'threads='); /** * Attempts to get a count of the processors available on the current system @@ -163,13 +163,6 @@ if (!$threads) { $daemonize = !(have_option('f') || have_option('--foreground')); $all = have_option('a') || have_option('--all'); -if (have_option('--skip-xmpp')) { - define('XMPP_EMERGENCY_FLAG', true); -} -if (have_option('--xmpp-only')) { - define('XMPP_ONLY_FLAG', true); -} - $daemon = new QueueDaemon($id, $daemonize, $threads, $all); $daemon->runOnce(); |