Fix some remote subscription regressions from f21f78364a

Ostatus_profile::ensureProfile() has been renamed to Ostatus_profile::ensureProfileURL()
This commit is contained in:
Brion Vibber
2010-03-18 13:13:57 -07:00
parent bbfb766885
commit f1b3d84b7d
3 changed files with 4 additions and 4 deletions

View File

@@ -1464,7 +1464,7 @@ class Ostatus_profile extends Memcached_DataObject
if (array_key_exists('profileurl', $hints)) {
try {
common_log(LOG_INFO, "Discovery on acct:$addr with profile URL $profileUrl");
$oprofile = self::ensureProfile($hints['profileurl'], $hints);
$oprofile = self::ensureProfileURL($hints['profileurl'], $hints);
self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->uri);
return $oprofile;
} catch (Exception $e) {