Skip to content

Commit

Permalink
Remove duplicate database turn for #4425
Browse files Browse the repository at this point in the history
This is the last optimization related to this bug fix.
  • Loading branch information
TheWitness committed Oct 22, 2021
1 parent 7758fed commit e514a54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,6 @@ function get_cached_allowed_type($hash, $init_rows) {
if ($user_change < $last_change || empty($user_change)) {
cacti_log('Detected need for forced template cache refresh:', false, 'WEBUI', POLLER_VERBOSITY_HIGH);
clear_cached_allowed_types();
set_user_setting('sess_allowed_templates_lastchange', time());

return array();
}
Expand Down

0 comments on commit e514a54

Please sign in to comment.