I use the following code to remove delete and publish buttons. How do I remove the "Delete from draft site" button?
<?php
class GlobalContent extends SiteTree {
function canDelete(){
return false;
}
function canPublish(){
return false;
}
}
?>