From: Amir E. Aharoni Date: Tue, 3 Mar 2015 18:29:54 +0000 (+0200) Subject: Shorten long lines in UserRightsProxy.php to make phpcs pass X-Git-Tag: 1.31.0-rc.0~12196 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=2655ef17dae2dfc3586085cb63363c8b8e09d92d;p=lhc%2Fweb%2Fwiklou.git Shorten long lines in UserRightsProxy.php to make phpcs pass Change-Id: Ib9c2b2ed4bdfe895764a3af6444e48522f4808d7 --- diff --git a/includes/UserRightsProxy.php b/includes/UserRightsProxy.php index 3be5847320..1b9e4b6906 100644 --- a/includes/UserRightsProxy.php +++ b/includes/UserRightsProxy.php @@ -114,7 +114,8 @@ class UserRightsProxy { */ private static function newFromLookup( $database, $field, $value, $ignoreInvalidDB = false ) { global $wgSharedDB, $wgSharedTables; - // If the user table is shared, perform the user query on it, but don't pass it to the UserRightsProxy, + // If the user table is shared, perform the user query on it, + // but don't pass it to the UserRightsProxy, // as user rights are normally not shared. if ( $wgSharedDB && in_array( 'user', $wgSharedTables ) ) { $userdb = self::getDB( $wgSharedDB, $ignoreInvalidDB );