https://bugzilla.wikimedia.org/show_bug.cgi?id=46255

--- Comment #2 from T. Gries <[email protected]> ---
(In reply to comment #1)
> Try to use
> $user && $user->isLoggedIn()
> or
> $user && !$user->isAnon()
> to detect, if the user object is a valid account
> 
> loadFromId assumed that you have set a id on the object.

Exactly this is the case, because the incoming OpenID Identifier has an id
(SpecialOpenIDIdentifier/id) from which a user object is created newFromID(i).

I do *not* want to test whether this is the or an logged-in user, but only, if
there is an account with that id.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to