Remove folders feature flag

Every service has this feature now[1] so we don’t need to check whether
or not it’s switched on any more.

1. https://github.com/alphagov/notifications-api/pull/2286
This commit is contained in:
Chris Hill-Scott
2019-02-11 16:06:46 +00:00
parent 0c823db970
commit 3a5bfeb7aa
7 changed files with 38 additions and 105 deletions

View File

@@ -947,7 +947,7 @@ class ChooseTemplateType(StripWhitespaceForm):
]
)
def __init__(self, include_letters=False, include_copy=False, include_folder=False, *args, **kwargs):
def __init__(self, include_letters=False, include_copy=False, *args, **kwargs):
super().__init__(*args, **kwargs)
@@ -956,7 +956,7 @@ class ChooseTemplateType(StripWhitespaceForm):
('sms', 'Text message template'),
('letter', 'Letter template') if include_letters else None,
('copy-existing', 'Copy of an existing template') if include_copy else None,
('folder', 'Folder') if include_folder else None,
('folder', 'Folder'),
])