Skip to content

Commit

Permalink
Merge pull request #24 from humhub/fix/113-getAccessRules-method-visi…
Browse files Browse the repository at this point in the history
…bility

Fix visibility of the method `Controller::getAccessRules()`
  • Loading branch information
luke- authored Oct 25, 2023
2 parents d403afb + f5c3f5f commit 3f52173
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/BookmarkController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BookmarkController extends ContentContainerController
/**
* @inheritdoc
*/
public function getAccessRules()
protected function getAccessRules()
{
return [
[ControllerAccess::RULE_LOGGED_IN_ONLY => ['update']],
Expand Down
2 changes: 1 addition & 1 deletion controllers/SavedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class SavedController extends ContentContainerController
/**
* @inheritdoc
*/
public function getAccessRules()
protected function getAccessRules()
{
return [
[ControllerAccess::RULE_LOGGED_IN_ONLY => ['index']],
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changelog
- Fix: Translation category for 'You didn\'t save any content yet!'
- Enh: Improvement and addition of French translations
- Enh #23: Tests for `next` version
- Fix #24: Fix visibility of the method `Controller::getAccessRules()`


1.0.1 (June 13, 2021)
Expand Down

0 comments on commit 3f52173

Please sign in to comment.