drop now-unused --skip-xmpp and --xmpp-only options from queuedaemon.php
This commit is contained in:
parent
c10d5320dd
commit
055a00bcae
|
@ -21,7 +21,7 @@
|
||||||
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
|
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
|
||||||
|
|
||||||
$shortoptions = 'fi:at:';
|
$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
|
* 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'));
|
$daemonize = !(have_option('f') || have_option('--foreground'));
|
||||||
$all = have_option('a') || have_option('--all');
|
$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 = new QueueDaemon($id, $daemonize, $threads, $all);
|
||||||
$daemon->runOnce();
|
$daemon->runOnce();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user