mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Avoid cache tree view
This commit is contained in:
parent
a67a4288a1
commit
9c82e3651a
@ -2830,6 +2830,8 @@ class Tree {
|
|||||||
global $config;
|
global $config;
|
||||||
static $group_stats = false;
|
static $group_stats = false;
|
||||||
# Do not use the group stat cache when using tags or real time group stats.
|
# 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 ||
|
if ($config['realtimestats'] == 1 ||
|
||||||
(isset($this->userGroups[$group_id]['tags']) && $this->userGroups[$group_id]['tags'] != "") ||
|
(isset($this->userGroups[$group_id]['tags']) && $this->userGroups[$group_id]['tags'] != "") ||
|
||||||
!empty($this->filter['searchAgent']) ) {
|
!empty($this->filter['searchAgent']) ) {
|
||||||
|
@ -109,7 +109,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
|
|||||||
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
|
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
|
||||||
('custom_report_front_header', ''),
|
('custom_report_front_header', ''),
|
||||||
('custom_report_front_footer', ''),
|
('custom_report_front_footer', ''),
|
||||||
('MR', 13),
|
('MR', 14),
|
||||||
('identification_reminder', 1),
|
('identification_reminder', 1),
|
||||||
('identification_reminder_timestamp', 0),
|
('identification_reminder_timestamp', 0),
|
||||||
('current_package_enterprise', '721'),
|
('current_package_enterprise', '721'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user