-if(common_config('xmpp','enabled')) {
- echo "xmppdaemon.php jabberqueuehandler.php publicqueuehandler.php ";
- echo "xmppconfirmhandler.php ";
-}
-if(common_config('twitterbridge','enabled')) {
- echo "twitterstatusfetcher.php ";
-}
-echo "ombqueuehandler.php ";
-if (common_config('twitter', 'enabled')) {
- echo "twitterqueuehandler.php ";
+$daemons = array();
+
+if (common_config('queue', 'daemon')) {
+ $daemons[] = INSTALLDIR.'/scripts/queuedaemon.php';