humhub-contrib / legal

2 stars 9 forks source link

Update Events.php #27

Closed marc-farre closed 3 years ago

marc-farre commented 3 years ago

If age verification was disabled and an admin enable it, hasOpenCheck returns true, but no redirection to check age will be done. So AdminController should not have a simplified layout wich must be reserved for PageController.