X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FExternalUser.php;h=580b98966a7ad9d9228db26ec0d23c83b8e00eee;hb=fc00763f0dc3ef1dbe1021e5e8759991d72c9e5e;hp=46565e4e3771aa188a668afb0a44db5a11b72724;hpb=89b8ac1145cc6c981f1bd7c2c616e486255d7825;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ExternalUser.php b/includes/ExternalUser.php index 46565e4e37..580b98966a 100644 --- a/includes/ExternalUser.php +++ b/includes/ExternalUser.php @@ -278,14 +278,14 @@ abstract class ExternalUser { * This is part of the core code and is not overridable by specific * plugins. It's in this class only for convenience. * - * @param $id int user_id + * @param int $id user_id */ final public function linkToLocal( $id ) { $dbw = wfGetDB( DB_MASTER ); $dbw->replace( 'external_user', array( 'eu_local_id', 'eu_external_id' ), array( 'eu_local_id' => $id, - 'eu_external_id' => $this->getId() ), + 'eu_external_id' => $this->getId() ), __METHOD__ ); } @@ -294,7 +294,7 @@ abstract class ExternalUser { * a local user. * @return Mixed User if the account is linked, Null otherwise. */ - final public function getLocalUser(){ + final public function getLocalUser() { $dbr = wfGetDB( DB_SLAVE ); $row = $dbr->selectRow( 'external_user',