From 3cf6d638f7bbf2ca43917fc94f898ed65a6f902c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Tisza?= Date: Fri, 9 Dec 2016 18:20:47 -0800 Subject: [PATCH] Do not disable footer feature when BetaFeatures is not installed Bug: T146436 Change-Id: I0ac855cdace3f40977ca3af3cfc187856532bba8 --- includes/FooterHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/FooterHooks.php b/includes/FooterHooks.php index 78722209..c80d8aca 100644 --- a/includes/FooterHooks.php +++ b/includes/FooterHooks.php @@ -86,7 +86,7 @@ class FooterHooks { if ( $skinName === 'minerva' ) { return true; } - return class_exists( 'BetaFeatures' ) && BetaFeatures::isFeatureEnabled( $user, 'read-more' ); + return !class_exists( 'BetaFeatures' ) || BetaFeatures::isFeatureEnabled( $user, 'read-more' ); } return false;