summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/helpers/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/access.php b/modules/gallery/helpers/access.php
index b1384c19..f1ea00c0 100644
--- a/modules/gallery/helpers/access.php
+++ b/modules/gallery/helpers/access.php
@@ -632,7 +632,7 @@ class access_Core {
* @param string the permission name
* @param string the new permission value (eg access::DENY)
*/
- public static function update_htaccess_files($album, $group, $perm_name, $value) {
+ static function update_htaccess_files($album, $group, $perm_name, $value) {
if ($group->id != identity::everybody()->id ||
!($perm_name == "view" || $perm_name == "view_full")) {
return;