From 25000e0bd992f59220f6c708bfe287ac2812edf1 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Thu, 9 Feb 2012 18:04:26 +0000 Subject: [PATCH] 2012-02-09 Sergio Martin * godmode/groups/group_list.php: Cleaned old code used in policy filter ajax call git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/groups/group_list.php | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 88779021f7..a634d458d4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-02-09 Sergio Martin + + * godmode/groups/group_list.php: Cleaned old code used in + policy filter ajax call + 2012-02-09 Juan Manuel Ramon * operation/events/events_list.php: Changed toggle filter in this diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index fe26db68c3..59a801f0c9 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -65,7 +65,6 @@ if (is_ajax ()) { $id_group = (int) get_parameter ('id_group'); $disabled = (int) get_parameter ('disabled', 0); $search = (string) get_parameter ('search', ''); - $keycount = (int) get_parameter ('keycount', 0); $recursion = (int) get_parameter ('recursion', 0); if (! check_acl ($config['id_user'], $id_group, "AR")) { @@ -81,8 +80,7 @@ if (is_ajax ()) { $filter['string'] = $search; } - $agents['keycount'] = $keycount; - $agents = $agents + agents_get_group_agents ($id_group, $filter, "none", false, $recursion); + $agents = agents_get_group_agents ($id_group, $filter, "none", false, $recursion); echo json_encode ($agents); return; }