We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit d1a895c5 authored by Evan Prodromou's avatar Evan Prodromou

return true on successful save of openid

darcs-hash:20080618112624-84dde-76bbb4338585852abef7ed6ced26784a77f01a34.gz
parent c5e8828d
......@@ -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;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment