summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-23 14:22:22 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-07-23 14:22:22 -0700
commit5f7fb994471e4326f6aea5e29157a6236de4001f (patch)
tree8b0a4e22e150646ebfaff85baea2471ce5a484e4 /scripts
parent6467351e32d2fa3a838556725fbdaccfa907969d (diff)
change NOTICE_GATEWAY to Notice::GATEWAY so autoloading works
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/twitterstatusfetcher.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/twitterstatusfetcher.php b/scripts/twitterstatusfetcher.php
index 8b10bfbad..4a1ed8977 100755
--- a/scripts/twitterstatusfetcher.php
+++ b/scripts/twitterstatusfetcher.php
@@ -32,7 +32,7 @@ $helptext = <<<END_OF_TRIM_HELP
Batch script for retrieving Twitter messages from foreign service.
-i --id Identity (default 'generic')
-
+
END_OF_TRIM_HELP;
require_once INSTALLDIR.'/scripts/commandline.inc';
@@ -317,7 +317,7 @@ class TwitterStatusFetcher extends Daemon
$notice->rendered = common_render_content($notice->content, $notice);
$notice->source = 'twitter';
$notice->reply_to = null; // XXX lookup reply
- $notice->is_local = NOTICE_GATEWAY;
+ $notice->is_local = Notice::GATEWAY;
if (Event::handle('StartNoticeSave', array(&$notice))) {
$id = $notice->insert();