From: Evan Prodromou Date: Wed, 18 Jun 2008 11:26:24 +0000 (-0400) Subject: return true on successful save of openid X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d1a895c5b14c429fea26b9fe12b75b98d6a37afc;p=quix0rs-gnu-social.git return true on successful save of openid darcs-hash:20080618112624-84dde-76bbb4338585852abef7ed6ced26784a77f01a34.gz --- 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; } }