]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
return true on successful save of openid
authorEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 11:26:24 +0000 (07:26 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 11:26:24 +0000 (07:26 -0400)
darcs-hash:20080618112624-84dde-76bbb4338585852abef7ed6ced26784a77f01a34.gz

actions/finishaddopenid.php

index c4488c23bb9fccdedb2cefd692cb65b730fbcbed..e5c01c4637e80215cc999263f45a3396ec73bcb8 100644 (file)
@@ -145,12 +145,11 @@ class FinishaddopenidAction extends Action {
                $oid->user_id = $user->id;
                $oid->created = DB_DataObject_Cast::dateTime();
 
-               common_debug('Saving ' . 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;
                }
+               return true;
        }
 }