Do not disable footer feature when BetaFeatures is not installed

Bug: T146436
Change-Id: I0ac855cdace3f40977ca3af3cfc187856532bba8
This commit is contained in:
Gergő Tisza 2016-12-09 18:20:47 -08:00 committed by Phuedx
parent 473108939a
commit 3cf6d638f7

View file

@ -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;