Remove "inactive" status for now, use "draft" instead

[MAILPOET-4757]
This commit is contained in:
Jan Jakes
2022-11-04 11:09:06 +01:00
committed by David Remer
parent f1abfe557a
commit af1e09f46f
12 changed files with 13 additions and 41 deletions

View File

@@ -9,13 +9,11 @@ use MailPoet\Automation\Engine\Utils\Json;
class Workflow {
public const STATUS_ACTIVE = 'active';
public const STATUS_DEACTIVATING = 'deactivating';
public const STATUS_INACTIVE = 'inactive';
public const STATUS_DRAFT = 'draft';
public const STATUS_TRASH = 'trash';
public const STATUS_ALL = [
self::STATUS_ACTIVE,
self::STATUS_DEACTIVATING,
self::STATUS_INACTIVE,
self::STATUS_DRAFT,
self::STATUS_TRASH,
];