Hide inactive subscribers notice behind a feture flag

[MAILPOET-2088]
This commit is contained in:
Jan Jakeš
2019-05-31 15:40:16 +02:00
committed by M. Shull
parent 74a4ff5a2f
commit 21e3c5b1e9
2 changed files with 10 additions and 2 deletions

View File

@ -10,12 +10,14 @@ class FeaturesController {
// const FEATURE_NAME_OF_FEATURE = 'name-of-feature';
const FEATURE_DISPLAY_WOOCOMMERCE_REVENUES = 'display-woocommerce-revenues'; // may also have 'display_revenues' setting
const FEATURE_ABANDONED_SHOPPING_CART = 'abandoned-shopping-cart';
const FEATURE_INACTIVE_SUBSCRIBERS_NOTICE = 'inactive-subscribers-notice';
// Define feature defaults in the array below in the following form:
// self::FEATURE_NAME_OF_FEATURE => true,
private $defaults = [
self::FEATURE_DISPLAY_WOOCOMMERCE_REVENUES => false,
self::FEATURE_ABANDONED_SHOPPING_CART => false,
self::FEATURE_INACTIVE_SUBSCRIBERS_NOTICE => false,
];
/** @var array */