diff options
author | Evan Prodromou <evan@status.net> | 2010-03-18 15:21:26 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-03-18 15:21:26 -0500 |
commit | 2ccd5187ccd509f3f579629186a7087720e5f94a (patch) | |
tree | 7fd8a549d7ca7ffb96a95c503957ba79c9fe1916 /plugins | |
parent | 4761c07ad8d76f7c34d4db53d32d15e806ba1e88 (diff) |
change profile URL ensure method for OStatus
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index b472ae242..58f373e45 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -290,7 +290,7 @@ class OStatusPlugin extends Plugin $url = "$scheme://$target"; $this->log(LOG_INFO, "Checking profile address '$url'"); try { - $oprofile = Ostatus_profile::ensureProfile($url); + $oprofile = Ostatus_profile::ensureProfileURL($url); if ($oprofile && !$oprofile->isGroup()) { $profile = $oprofile->localProfile(); $matches[$pos] = array('mentioned' => array($profile), @@ -392,7 +392,7 @@ class OStatusPlugin extends Plugin foreach ($urls as $url) { try { - return Ostatus_profile::ensureProfile($url); + return Ostatus_profile::ensureProfileURL($url); } catch (Exception $e) { common_log(LOG_ERR, 'Profile lookup failed for ' . $arg . ': ' . $e->getMessage()); |