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

Commit 65816a6e authored by Evan Prodromou's avatar Evan Prodromou

fix syntax error in finishopenidlogin

darcs-hash:20080618123941-84dde-ec6e2fdef8c561714e509dc47e14aa47c58a9c44.gz
parent 4a0b1a9e
......@@ -264,8 +264,9 @@ class FinishopenidloginAction extends Action {
$profile->delete();
}
$result = oid_link_user($user->id, $canonical, $display);
if (!oid_link_user($user->id, $canonical, $display) {
if (!$result) {
# Try to clean up...
$user->delete();
$profile->delete();
......
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