Increase the page load speed with Frio

This commit is contained in:
Michael 2017-06-07 19:51:37 +00:00
parent 66458d7313
commit 1916f7858f
2 changed files with 21 additions and 0 deletions

View file

@ -389,6 +389,13 @@ function populate_acl($user = null, $show_jotnets = false) {
function construct_acl_data(App $a, $user) {
$arr = array('user' => $user);
call_hooks('construct_acl_data', $arr);
if (isset($arr['cancel'])) {
return;
}
// Get group and contact information for html ACL selector
$acl_data = acl_lookup($a, 'html');