19 public const CONSTRUCTOR_OPTIONS = [
31 $this->shutdowns = $options->
get(
'FeatureShutdown' );
39 if ( !isset( $this->shutdowns[$featureName] ) ) {
44 foreach ( $this->shutdowns[$featureName] as $shutdown ) {
45 if ( strtotime( $shutdown[
'start'] ) > $time || strtotime( $shutdown[
'end'] ) < $time ) {
49 if ( isset( $shutdown[
'percentage'] ) && rand( 0, 99 ) > $shutdown[
'percentage'] ) {
if(!defined('MW_SETUP_CALLBACK'))