From: Happy-melon Date: Mon, 21 Sep 2009 14:18:26 +0000 (+0000) Subject: Follow-up to r56683 - unnecessary abstraction X-Git-Tag: 1.31.0-rc.0~39597 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=5bb61a334a46b03d9a4fcbec1f4420c591f5cd49;p=lhc%2Fweb%2Fwiklou.git Follow-up to r56683 - unnecessary abstraction --- diff --git a/includes/ExternalUser.php b/includes/ExternalUser.php index ecb00971ec..334ec1799e 100644 --- a/includes/ExternalUser.php +++ b/includes/ExternalUser.php @@ -299,7 +299,7 @@ abstract class ExternalUser { array( 'eu_external_id' => $this->getId() ) ); return $row - ? User::newFromId( $row->fetchObject()->eu_wiki_id ) + ? User::newFromId( $row->eu_wiki_id ) : null; }