fixing doArchive
fixing doArchive

for users who can delete, but not unpublish, they should be able to delete draft pages that they’ve created.

Old code used to unpublish even if the page wasn’t published, which meant users who couldn’t publish, also could delete draft pages. They could create draft pages, but not delete them.

silverstripe/silverstripe-cms,dhensby/silverstripe-cms,silverstripe/silverstripe-cms,dhensby/silverstripe-cms,dhensby/silverstripe-cms