summaryrefslogtreecommitdiff
path: root/lib/omb.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-12 15:04:47 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-12 15:04:47 -0400
commit4c3a1a9e302b5be5cf4a5ca0b499d1a65d88d68c (patch)
tree03c8cf39d87b86158759c701e4f240c186082df2 /lib/omb.php
parent2bc198432c1bd61ed98d49568869f341badb2057 (diff)
add some more debugging code
darcs-hash:20080612190447-84dde-f5752112cd129b44719114e56bec7f3745c665fd.gz
Diffstat (limited to 'lib/omb.php')
-rw-r--r--lib/omb.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/omb.php b/lib/omb.php
index 5f34e9e13..036163fd9 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -237,9 +237,13 @@ function omb_update_profile($profile, $remote_profile, $subscription) {
$fetcher = Auth_Yadis_Yadis::getHTTPFetcher();
+ common_debug('request URL = '.$req->get_normalized_http_url(), __FILE__);
+ common_debug('postdata = '.$req->to_postdata(), __FILE__);
$result = $fetcher->post($req->get_normalized_http_url(),
$req->to_postdata());
+ common_debug('Got HTTP result "'.print_r($result,TRUE).'"', __FILE__);
+
if ($result->status == 403) { # not authorized, don't send again
common_debug('403 result, deleting subscription', __FILE__);
$subscription->delete();