Add automation feature flag

[MAILPOET-4135]
This commit is contained in:
Jan Jakes
2022-02-09 15:08:27 +01:00
committed by Veljko V
parent 47ad1ec18e
commit 12edbf1687

View File

@@ -5,10 +5,13 @@ namespace MailPoet\Features;
use MailPoetVendor\Doctrine\DBAL\Exception\TableNotFoundException; use MailPoetVendor\Doctrine\DBAL\Exception\TableNotFoundException;
class FeaturesController { class FeaturesController {
public const AUTOMATION = 'automation';
// Define feature defaults in the array below in the following form: // Define feature defaults in the array below in the following form:
// self::FEATURE_NAME_OF_FEATURE => true, // self::FEATURE_NAME_OF_FEATURE => true,
private $defaults = []; private $defaults = [
self::AUTOMATION => false,
];
/** @var array */ /** @var array */
private $flags; private $flags;