diff --git a/composer.json b/composer.json index 4bc3698..16b73a4 100755 --- a/composer.json +++ b/composer.json @@ -19,8 +19,7 @@ }], "require": { "silverstripe/framework": "^4.0.1", - "symbiote/silverstripe-gridfieldextensions": "^3", - "unclecheese/betterbuttons": "dev-feature/ss4-upgrade" + "symbiote/silverstripe-gridfieldextensions": "^3" }, "extra": { "installer-name": "pagesections", diff --git a/src/PageElement.php b/src/PageElement.php index 783247c..f8552ab 100755 --- a/src/PageElement.php +++ b/src/PageElement.php @@ -59,7 +59,7 @@ public function canEdit($member = null) } public function canDelete($member = null) { - return true; + return false; } public function canCreate($member = null, $context = []) {