From d1a895c5b14c429fea26b9fe12b75b98d6a37afc Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 18 Jun 2008 07:26:24 -0400 Subject: [PATCH] return true on successful save of openid darcs-hash:20080618112624-84dde-76bbb4338585852abef7ed6ced26784a77f01a34.gz --- actions/finishaddopenid.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/actions/finishaddopenid.php b/actions/finishaddopenid.php index c4488c23bb..e5c01c4637 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; } }