diff options
-rw-r--r-- | actions/finishaddopenid.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/finishaddopenid.php b/actions/finishaddopenid.php index c4488c23b..e5c01c463 100644 --- a/actions/finishaddopenid.php +++ b/actions/finishaddopenid.php @@ -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; } } |