diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-30 14:22:30 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-30 14:22:30 -0400 |
commit | a73a63758f2ab9b4d951bb428b774f072b28817a (patch) | |
tree | 50f4cf9d3ff24964645542d7c2349bc639549f4b /actions | |
parent | d3dd804ddf55e7aba9533a180a5d9c98392b03df (diff) |
add debug logging and do some from the remotesubscribe page
darcs-hash:20080530182230-84dde-b9b6f515affcd245abb5e199de02a8891138ff2a.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/remotesubscribe.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index 8f9dd3cb9..e225fb683 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -77,7 +77,9 @@ class RemotesubscribeAction extends Action { $fetcher = Auth_Yadis_Yadis::getHTTPFetcher(); $yadis = Auth_Yadis_Yadis::discover($profile, $fetcher); - + + common_debug('remotesubscribe.php: XRDS discovery result: "'.print_r($yadis, TRUE) .'"'); + if (!$yadis || $yadis->fail) { $this->show_form(_t('Not a valid profile URL (no YADIS document).')); return; |