fix for --skip-xmpp hack -- forgot to do it on the ping & confirm handlers

This commit is contained in:
Brion Vibber 2010-01-14 17:14:41 -08:00
parent 58bc33850a
commit 038287c1ff

View File

@ -70,7 +70,7 @@ class IoMaster
$classes = array(); $classes = array();
if (Event::handle('StartIoManagerClasses', array(&$classes))) { if (Event::handle('StartIoManagerClasses', array(&$classes))) {
$classes[] = 'QueueManager'; $classes[] = 'QueueManager';
if (common_config('xmpp', 'enabled')) { if (common_config('xmpp', 'enabled') && !defined('XMPP_EMERGENCY_FLAG')) {
$classes[] = 'XmppManager'; // handles pings/reconnects $classes[] = 'XmppManager'; // handles pings/reconnects
$classes[] = 'XmppConfirmManager'; // polls for outgoing confirmations $classes[] = 'XmppConfirmManager'; // polls for outgoing confirmations
} }