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

--- Comment #6 from T. Gries <m...@tgries.de> ---
(In reply to comment #5)
> $user = User::newFromId( 1234 );
> $user->loadFromDatabase();

I do this

private static function isUser( $user ) {
  return ( $user ) ? $user->loadFromId() : false;
}

is is okay ?


https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/OpenID.git;a=blob;f=SpecialOpenIDIdentifier.body.php;h=d8270c4c4e63602fc3a00124feff3aa923ea1498;hb=ae494618ee890a8fe7f77cc2f5951f1157a6d8ba#l46

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to