check to see if XRDS discovery failed
darcs-hash:20080530181103-84dde-55eb7fce80ae6a11639ec9748c0d02f7f72cbc4d.gz
This commit is contained in:
parent
3a20f1202b
commit
d3dd804ddf
@ -78,7 +78,7 @@ class RemotesubscribeAction extends Action {
|
||||
$fetcher = Auth_Yadis_Yadis::getHTTPFetcher();
|
||||
$yadis = Auth_Yadis_Yadis::discover($profile, $fetcher);
|
||||
|
||||
if (!$yadis) {
|
||||
if (!$yadis || $yadis->fail) {
|
||||
$this->show_form(_t('Not a valid profile URL (no YADIS document).'));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user