Avoid cache tree view

This commit is contained in:
fermin831 2018-04-10 17:59:34 +02:00
parent a67a4288a1
commit 9c82e3651a
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'),