summaryrefslogtreecommitdiff
path: root/plugins/OStatus/scripts/resub-feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OStatus/scripts/resub-feed.php')
-rw-r--r--plugins/OStatus/scripts/resub-feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/scripts/resub-feed.php b/plugins/OStatus/scripts/resub-feed.php
index 121d12109..8803c0118 100644
--- a/plugins/OStatus/scripts/resub-feed.php
+++ b/plugins/OStatus/scripts/resub-feed.php
@@ -38,7 +38,7 @@ if (empty($args[0]) || !Validate::uri($args[0])) {
$feedurl = $args[0];
-$sub = FeedSub::staticGet('topic', $feedurl);
+$sub = FeedSub::staticGet('uri', $feedurl);
if (!$sub) {
print "Feed $feedurl is not subscribed.\n";
exit(1);
@@ -57,7 +57,7 @@ if ($ok) {
print "Could not confirm.\n";
}
-$sub2 = FeedSub::staticGet('topic', $feedurl);
+$sub2 = FeedSub::staticGet('uri', $feedurl);
print "\n";
print "New state:\n";