diff options
author | Evan Prodromou <evan@status.net> | 2010-11-26 22:09:51 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-11-26 22:09:51 -0500 |
commit | edf660c6ffd19aeda42c889c1070a5f84b0c2cf2 (patch) | |
tree | e8b680e6915c4c0db1af418700b200afc7f15b42 /actions/userxrd.php | |
parent | fcc0825b14c1499ec97088fa4ec39a7bbb4d0ec1 (diff) |
Make userxrd work without OStatus enabled
Diffstat (limited to 'actions/userxrd.php')
-rw-r--r-- | actions/userxrd.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/userxrd.php b/actions/userxrd.php index 575a07c40..582f7a35e 100644 --- a/actions/userxrd.php +++ b/actions/userxrd.php @@ -32,9 +32,9 @@ class UserxrdAction extends XrdAction parent::prepare($args); $this->uri = $this->trimmed('uri'); - $this->uri = Discovery::normalize($this->uri); + $this->uri = self::normalize($this->uri); - if (Discovery::isWebfinger($this->uri)) { + if (self::isWebfinger($this->uri)) { $parts = explode('@', substr(urldecode($this->uri), 5)); if (count($parts) == 2) { list($nick, $domain) = $parts; |