Remove Jabber stuff from Twitter daemon
This commit is contained in:
parent
98d1085987
commit
8cd1bdc686
@ -23,7 +23,7 @@ define('INSTALLDIR', realpath(dirname(__FILE__) . '/../../..'));
|
|||||||
$shortoptions = 'fi::a';
|
$shortoptions = 'fi::a';
|
||||||
$longoptions = array('id::', 'foreground', 'all');
|
$longoptions = array('id::', 'foreground', 'all');
|
||||||
|
|
||||||
$helptext = <<<END_OF_XMPP_HELP
|
$helptext = <<<END_OF_TWITTERDAEMON_HELP
|
||||||
Daemon script for receiving new notices from Twitter users.
|
Daemon script for receiving new notices from Twitter users.
|
||||||
|
|
||||||
-i --id Identity (default none)
|
-i --id Identity (default none)
|
||||||
@ -31,12 +31,10 @@ Daemon script for receiving new notices from Twitter users.
|
|||||||
(requires Stomp queue handler, status_network setup)
|
(requires Stomp queue handler, status_network setup)
|
||||||
-f --foreground Stay in the foreground (default background)
|
-f --foreground Stay in the foreground (default background)
|
||||||
|
|
||||||
END_OF_XMPP_HELP;
|
END_OF_TWITTERDAEMON_HELP;
|
||||||
|
|
||||||
require_once INSTALLDIR.'/scripts/commandline.inc';
|
require_once INSTALLDIR.'/scripts/commandline.inc';
|
||||||
|
|
||||||
require_once INSTALLDIR . '/lib/jabber.php';
|
|
||||||
|
|
||||||
class TwitterDaemon extends SpawningDaemon
|
class TwitterDaemon extends SpawningDaemon
|
||||||
{
|
{
|
||||||
protected $allsites = false;
|
protected $allsites = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user