Use ::class for class name resolution
Available since php5.5 Change-Id: Ie71b7f9d289a34532f6e3e1f32ac25bf08b9903f
This commit is contained in:
@@ -69,7 +69,7 @@ class UniversalLanguageSelectorHooks {
|
||||
if ( $wgULSCompactLanguageLinksBetaFeature === true &&
|
||||
$wgInterwikiMagic === true &&
|
||||
$wgHideInterlanguageLinks === false &&
|
||||
class_exists( 'BetaFeatures' ) &&
|
||||
class_exists( BetaFeatures::class ) &&
|
||||
BetaFeatures::isFeatureEnabled( $user, 'uls-compact-links' )
|
||||
) {
|
||||
// Compact language links is a beta feature in this wiki. Check the user's
|
||||
|
||||
Reference in New Issue
Block a user