aboutsummaryrefslogtreecommitdiff
path: root/mod/file/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/index.php')
-rw-r--r--mod/file/index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/file/index.php b/mod/file/index.php
index 6a418ac6a..848de9e53 100644
--- a/mod/file/index.php
+++ b/mod/file/index.php
@@ -13,9 +13,8 @@
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
- if (is_callable('group_gatekeeper')) {
- group_gatekeeper();
- }
+ // access check for closed groups
+ group_gatekeeper();
//set the title
if (page_owner() == get_loggedin_userid()) {