summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 07:26:24 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 07:26:24 -0400
commitd1a895c5b14c429fea26b9fe12b75b98d6a37afc (patch)
tree6b4ede4502c946ee3df0e028a49533d7b8e66167
parentc5e8828d7e6d953e44cc9d29ee367e3fb46bea57 (diff)
return true on successful save of openid
darcs-hash:20080618112624-84dde-76bbb4338585852abef7ed6ced26784a77f01a34.gz
-rw-r--r--actions/finishaddopenid.php3
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;
}
}