silverstripe/silverstripe-cms — pull request #30 by frankmullenger (2011-10-08 06:16:37+00:00)
Title: Removing Unpublish button from CMS when canDeleteFromLive() returns false

BUGFIX returning false from canDeleteFromLive() for a DataObject did not remove the Unpublish button from CMS, but the Unpublish action returned an error. Fixes #6731.