mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Revert "fix(PHP): Noop update of metrics"
This reverts commit acab5ac399
.
This commit is contained in:
parent
acab5ac399
commit
28b1d20fb1
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ $query_string = $_SERVER['QUERY_STRING'];
|
||||||
|
|
||||||
// If no options.cache is configured, we no-op metric storage operations.
|
// If no options.cache is configured, we no-op metric storage operations.
|
||||||
$is_cached = defined('EXTENSION_LOADED_APC') || defined('EXTENSION_LOADED_MEMCACHE');
|
$is_cached = defined('EXTENSION_LOADED_APC') || defined('EXTENSION_LOADED_MEMCACHE');
|
||||||
if (false && $is_cached)
|
if ($is_cached)
|
||||||
register_shutdown_function('update_metrics');
|
register_shutdown_function('update_metrics');
|
||||||
|
|
||||||
if (config_get_bool('options', 'enable-maintenance') && (empty($tokens[1]) || ($tokens[1] != "css" && $tokens[1] != "images"))) {
|
if (config_get_bool('options', 'enable-maintenance') && (empty($tokens[1]) || ($tokens[1] != "css" && $tokens[1] != "images"))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue