]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add more debugging
authorEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 20:11:23 +0000 (16:11 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 20:11:23 +0000 (16:11 -0400)
darcs-hash:20080618201123-84dde-3c6a131fafc0ba8922293c608173a6d7407ce8d0.gz

lib/openid.php

index deaf8632162dda5a8b9662b968b6561466abb770..74d7d64a9d2adfa922bb34ad9462022a23774952 100644 (file)
@@ -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;
 }