summaryrefslogtreecommitdiff
path: root/scripts/getvaliddaemons.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-21 14:44:16 -0400
committerEvan Prodromou <evan@status.net>2009-09-21 14:44:16 -0400
commitfe4751de50f2c26953dca79ab51543f8adb12353 (patch)
treed0351fe35cd40be030c016db586c725dde390cda /scripts/getvaliddaemons.php
parentf6c70ea327a83f77acbca14bca32f262e6b3a098 (diff)
add the plugin daemon
Diffstat (limited to 'scripts/getvaliddaemons.php')
-rwxr-xr-xscripts/getvaliddaemons.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/getvaliddaemons.php b/scripts/getvaliddaemons.php
index 684799a0e..6dd019712 100755
--- a/scripts/getvaliddaemons.php
+++ b/scripts/getvaliddaemons.php
@@ -37,22 +37,27 @@ require_once INSTALLDIR.'/scripts/commandline.inc';
$daemons = array();
+$daemons[] = INSTALLDIR.'/scripts/pluginqueuehandler.php';
+$daemons[] = INSTALLDIR.'/scripts/ombqueuehandler.php';
+$daemons[] = INSTALLDIR.'/scripts/facebookqueuehandler.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('twitterbridge','enabled')) {
$daemons[] = INSTALLDIR.'/scripts/twitterstatusfetcher.php';
}
-$daemons[] = INSTALLDIR.'/scripts/ombqueuehandler.php';
+
if (common_config('twitter', 'enabled')) {
$daemons[] = INSTALLDIR.'/scripts/twitterqueuehandler.php';
$daemons[] = INSTALLDIR.'/scripts/synctwitterfriends.php';
}
-$daemons[] = INSTALLDIR.'/scripts/facebookqueuehandler.php';
-$daemons[] = INSTALLDIR.'/scripts/pingqueuehandler.php';
+
if (common_config('sms', 'enabled')) {
$daemons[] = INSTALLDIR.'/scripts/smsqueuehandler.php';
}