From 44a2a577b71f31bb8fc29b5fc8e899b6e814e11f Mon Sep 17 00:00:00 2001 From: Laurent Pinsivy Date: Mon, 28 Oct 2019 11:08:36 +0100 Subject: [PATCH] fix(acl): calculate acl extension all time (#8044) --- cron/centAcl.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cron/centAcl.php b/cron/centAcl.php index 6e5a8f376bb..9caa13ce6c3 100644 --- a/cron/centAcl.php +++ b/cron/centAcl.php @@ -733,14 +733,14 @@ $stmt->bindValue(':aclGroupId', $aclGroupId, \PDO::PARAM_INT); $stmt->execute(); } + } - /** - * Include module specific ACL evaluation - */ - $extensionsPaths = getModulesExtensionsPaths($pearDB); - foreach ($extensionsPaths as $extensionPath) { - require_once $extensionPath . 'centAcl.php'; - } + /** + * Include module specific ACL evaluation + */ + $extensionsPaths = getModulesExtensionsPaths($pearDB); + foreach ($extensionsPaths as $extensionPath) { + require_once $extensionPath . 'centAcl.php'; } /*