summaryrefslogtreecommitdiff
path: root/lib/openid.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 16:11:23 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 16:11:23 -0400
commited54a46fe9046dc019b6fcf3864a2bf5a3ecc69e (patch)
tree0cec3ba1feef140092effea08ccadd3f695c0f41 /lib/openid.php
parent2aa34a9bf0916bb5c00dff1d490755cf32edd16d (diff)
add more debugging
darcs-hash:20080618201123-84dde-3c6a131fafc0ba8922293c608173a6d7407ce8d0.gz
Diffstat (limited to 'lib/openid.php')
-rw-r--r--lib/openid.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/openid.php b/lib/openid.php
index deaf86321..74d7d64a9 100644
--- a/lib/openid.php
+++ b/lib/openid.php
@@ -50,12 +50,16 @@ function oid_link_user($id, $canonical, $display) {
$oid->canonical = $canonical;
$oid->display = $display;
$oid->created = DB_DataObject_Cast::dateTime();
-
+
+ common_debug('oid = '.print_r($oid, TRUE), __FILE__);
+
if (!$oid->insert()) {
$err = PEAR::getStaticProperty('DB_DataObject','lastError');
common_debug('DB error ' . $err->code . ': ' . $err->message, __FILE__);
return false;
}
+
+ common_debug('oid = '.print_r($oid, TRUE), __FILE__);
return true;
}