-$daemons[] = INSTALLDIR.'/scripts/pluginqueuehandler.php';
-$daemons[] = INSTALLDIR.'/scripts/ombqueuehandler.php';
-$daemons[] = INSTALLDIR.'/scripts/pingqueuehandler.php';
-
-if(common_config('xmpp','enabled')) {
- $daemons[] = INSTALLDIR.'/scripts/xmppdaemon.php';
- $daemons[] = INSTALLDIR.'/scripts/jabberqueuehandler.php';
- $daemons[] = INSTALLDIR.'/scripts/publicqueuehandler.php';
- $daemons[] = INSTALLDIR.'/scripts/xmppconfirmhandler.php';
-}
-
-if (common_config('sms', 'enabled')) {
- $daemons[] = INSTALLDIR.'/scripts/smsqueuehandler.php';
+if (common_config('queue', 'daemon')) {
+ $daemons[] = INSTALLDIR.'/scripts/queuedaemon.php';