]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/getvaliddaemons.php
Added configuration options to enable/disable SMS and Twitter integration.
[quix0rs-gnu-social.git] / scripts / getvaliddaemons.php
index 97c230784f73e5be9897bfc536583a6cdd97c900..8b127bd201be9516466c9541ef51b2ba8cb9428b 100755 (executable)
@@ -28,7 +28,8 @@
 define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
 
 $helptext = <<<ENDOFHELP
-getvaliddaemons.php - print out the currently configured PID directory
+getvaliddaemons.php - print out a list of valid daemons that should be started
+by the startdaemons script
 
 ENDOFHELP;
 
@@ -42,7 +43,11 @@ if(common_config('twitterbridge','enabled')) {
     echo "twitterstatusfetcher.php ";
 }
 echo "ombqueuehandler.php ";
-echo "twitterqueuehandler.php ";
+if (common_config('twitter', 'enabled')) {
+    echo "twitterqueuehandler.php ";
+}
 echo "facebookqueuehandler.php ";
 echo "pingqueuehandler.php ";
-echo "smsqueuehandler.php ";
+if (common_config('sms', 'enabled')) {
+    echo "smsqueuehandler.php ";
+}