summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-27 11:25:07 +0300
committerAndrew Dolgov <[email protected]>2021-02-27 11:25:07 +0300
commit5edcbf2e9bfa79ea87a6e420a4c17e8b02997716 (patch)
tree8705d31a2622507b2a8d1d84ec973a7773cf1e5c /classes/pref
parentc1cd3324e3986967d4210e6e36bf068417b7cd13 (diff)
add an option to disable conditional counters
Diffstat (limited to 'classes/pref')
-rw-r--r--classes/pref/prefs.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 9eb27eb85..14ca9b49c 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -65,6 +65,7 @@ class Pref_Prefs extends Handler_Protected {
'BLOCK_SEPARATOR',
Prefs::SSL_CERT_SERIAL,
'BLOCK_SEPARATOR',
+ Prefs::DISABLE_CONDITIONAL_COUNTERS,
Prefs::HEADLINES_NO_DISTINCT,
],
__('Debugging') => [
@@ -106,6 +107,7 @@ class Pref_Prefs extends Handler_Protected {
Prefs::USER_CSS_THEME => array(__("Theme")),
Prefs::HEADLINES_NO_DISTINCT => array(__("Don't enforce DISTINCT headlines"), __("May produce duplicate entries")),
Prefs::DEBUG_HEADLINE_IDS => array(__("Show article and feed IDs"), __("In the headlines buffer")),
+ Prefs::DISABLE_CONDITIONAL_COUNTERS => array(__("Disable conditional counter updates"), __("May increase server load")),
];
// hidden in the main prefs UI (use to hide things that have description set above)