fix syntax error in finishopenidlogin
darcs-hash:20080618123941-84dde-ec6e2fdef8c561714e509dc47e14aa47c58a9c44.gz
This commit is contained in:
parent
4a0b1a9ea9
commit
65816a6e2f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user