Skip to content

Commit

Permalink
fix(dependencies): Remove betterbuttons dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco (Valandur) committed Oct 26, 2018
1 parent de0158b commit 8022486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/PageElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function canEdit($member = null)
}
public function canDelete($member = null)
{
return true;
return false;
}
public function canCreate($member = null, $context = [])
{
Expand Down

0 comments on commit 8022486

Please sign in to comment.