Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8c504b

Browse files
committed
Merge pull request alphagov#211 from alphagov/remove-whitehall-unarchive_content-task
Remove the 'unarchive content' task for Whitehall
2 parents fa89e5c + fa79e02 commit e8c504b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

whitehall.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ def dedupe_stats_announcement(duplicate_slug, authoritative_slug, noop=False):
2424
util.bundle_exec('whitehall', command)
2525

2626

27-
@task
28-
@runs_once
29-
@roles('class-whitehall_backend')
30-
def unarchive_content(*edition_ids):
31-
"""Unarchive Whitehall content"""
32-
for edition_id in edition_ids:
33-
util.rake('whitehall', 'unwithdraw_edition', edition_id)
34-
35-
3627
@task
3728
@runs_once
3829
@roles('class-whitehall_backend')

0 commit comments

Comments
 (0)