summaryrefslogtreecommitdiff
path: root/plugins/OStatus/scripts/update-profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OStatus/scripts/update-profile.php')
-rw-r--r--plugins/OStatus/scripts/update-profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/scripts/update-profile.php b/plugins/OStatus/scripts/update-profile.php
index d06de4f90..64afa0f35 100644
--- a/plugins/OStatus/scripts/update-profile.php
+++ b/plugins/OStatus/scripts/update-profile.php
@@ -55,7 +55,7 @@ print "Re-running feed discovery for profile URL $oprofile->uri\n";
// @fixme will bork where the URI isn't the profile URL for now
$discover = new FeedDiscovery();
$feedurl = $discover->discoverFromURL($oprofile->uri);
-$huburi = $discover->getAtomLink('hub');
+$huburi = $discover->getHubLink();
$salmonuri = $discover->getAtomLink(Salmon::NS_REPLIES);
print " Feed URL: $feedurl\n";