From 2655ef17dae2dfc3586085cb63363c8b8e09d92d Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Tue, 3 Mar 2015 20:29:54 +0200 Subject: [PATCH] Shorten long lines in UserRightsProxy.php to make phpcs pass Change-Id: Ib9c2b2ed4bdfe895764a3af6444e48522f4808d7 --- includes/UserRightsProxy.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.20.1