From: Brion Vibber Date: Mon, 25 Jan 2010 17:36:20 +0000 (-0800) Subject: drop now-unused --skip-xmpp and --xmpp-only options from queuedaemon.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=055a00bcaeaa50c36143bd151bf4433c5c87d174;p=quix0rs-gnu-social.git drop now-unused --skip-xmpp and --xmpp-only options from queuedaemon.php --- diff --git a/scripts/queuedaemon.php b/scripts/queuedaemon.php index a9cfda6d72..bedd14b1a3 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();