moving references to Webfinger to Discovery

This commit is contained in:
James Walker
2010-02-25 17:34:56 -05:00
parent bd90ef9f66
commit 5ae64a7adb
3 changed files with 9 additions and 9 deletions

View File

@@ -131,9 +131,9 @@ class OStatusInitAction extends Action
function connectWebfinger($acct)
{
$w = new Webfinger;
$disco = new Discovery;
$result = $w->lookup($acct);
$result = $disco->lookup($acct);
if (!$result) {
$this->clientError(_m("Couldn't look up OStatus account profile."));
}