Ooops, copypasted something into the wrong place.

This commit is contained in:
Mikael Nordfeldth 2015-11-08 23:24:20 +01:00
parent 65184782aa
commit 844670f88d

View File

@ -246,7 +246,7 @@ class OStatusSubAction extends Action
try {
if ($validate->email($this->profile_uri)) {
$this->oprofile = Ostatus_profile::ensureWebfinger($this->profile_uri);
} else if ($validate->uri($url, $params)) {
} else if ($validate->uri($this->profile_uri)) {
$this->oprofile = Ostatus_profile::ensureProfileURL($this->profile_uri);
} else {
// TRANS: Error message in OStatus plugin. Do not translate the domain names example.com