silverstripe-cms/code/model
John Milmine 1ff6f3f1b0 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.
2017-04-27 08:48:19 +12:00
..
CurrentPageIdentifier.php Method visibility according to coding conventions 2012-09-20 10:41:50 +02:00
ErrorPage.php Correcting an issue where page controller methods 2016-11-21 15:43:37 +11:00
RedirectorPage.php MINOR: Remove training whitespace. 2016-01-07 10:32:05 +13:00
SiteTree.php fixing doArchive 2017-04-27 08:48:19 +12:00
SiteTreeExtension.php MINOR: Remove training whitespace. 2016-01-07 10:32:05 +13:00
SiteTreeFileExtension.php MINOR: Remove training whitespace. 2016-01-07 10:32:05 +13:00
SiteTreeFolderExtension.php MINOR: Remove training whitespace. 2016-01-07 10:32:05 +13:00
SiteTreeLinkTracking.php FIX Link tracking not escaping # Fixes #1409 2016-03-21 15:22:00 +00:00
VirtualPage.php FIX Correct case of CopyContentFrom method 2017-04-05 10:49:17 +10:00