mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Always use ContentContainerControllerAccess (#5345)
This commit is contained in:
parent
c4ae7aa94c
commit
69d2ae7e77
@ -132,11 +132,7 @@ class ContentContainerController extends Controller
|
||||
*/
|
||||
public function getAccess()
|
||||
{
|
||||
if ($this->contentContainer) {
|
||||
return new ContentContainerControllerAccess(['contentContainer' => $this->contentContainer]);
|
||||
}
|
||||
|
||||
return parent::getAccess();
|
||||
return new ContentContainerControllerAccess(['contentContainer' => $this->contentContainer]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user