Merge branch '2015-implementacion-de-grupos-secundarios-2' into 'develop'

Avoid cache tree view

See merge request artica/pandorafms!1417
This commit is contained in:
vgilc 2018-04-10 18:05:51 +02:00
commit ad46d8b5b0
2 changed files with 3 additions and 1 deletions

View File

@ -2830,6 +2830,8 @@ class Tree {
global $config;
static $group_stats = false;
# Do not use the group stat cache when using tags or real time group stats.
return $this->getCounters($group_id);
// FIXME: AVOID TO REACH CACHE
if ($config['realtimestats'] == 1 ||
(isset($this->userGroups[$group_id]['tags']) && $this->userGroups[$group_id]['tags'] != "") ||
!empty($this->filter['searchAgent']) ) {

View File

@ -109,7 +109,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
('custom_report_front_header', ''),
('custom_report_front_footer', ''),
('MR', 13),
('MR', 14),
('identification_reminder', 1),
('identification_reminder_timestamp', 0),
('current_package_enterprise', '721'),