summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 08:39:41 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 08:39:41 -0400
commit65816a6e2fe22ace47daceb0070640bdf8d6cff6 (patch)
tree2de12fcfb2b23b4da5efe645e5a3624f1ed32af3 /actions
parent4a0b1a9ea9d288e42ac03c43ef904b0565a7087f (diff)
fix syntax error in finishopenidlogin
darcs-hash:20080618123941-84dde-ec6e2fdef8c561714e509dc47e14aa47c58a9c44.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/finishopenidlogin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/finishopenidlogin.php b/actions/finishopenidlogin.php
index 3d0c8f277..2b3616ffa 100644
--- a/actions/finishopenidlogin.php
+++ b/actions/finishopenidlogin.php
@@ -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();