mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch '2611-Cache_de_vista_de_arbol_y_vista_de_grupos' into 'develop'
fixed performance in group view See merge request artica/pandorafms!1734
This commit is contained in:
commit
4e7d641667
@ -2941,7 +2941,10 @@ function group_get_groups_list($id_user = false, $user_strict = false, $access =
|
||||
|
||||
function groups_get_group_deep ($id_group) {
|
||||
global $config;
|
||||
$parents = groups_get_parents($id_group, false);
|
||||
|
||||
$groups = users_get_groups(false, "AR", true, true);
|
||||
|
||||
$parents = groups_get_parents($id_group, false, $groups);
|
||||
|
||||
if (empty($parents)) {
|
||||
$deep = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user