summaryrefslogtreecommitdiff
path: root/modules/pref-prefs.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pref-prefs.php')
-rw-r--r--modules/pref-prefs.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php
index 987a093c0..80a63cb9e 100644
--- a/modules/pref-prefs.php
+++ b/modules/pref-prefs.php
@@ -15,6 +15,11 @@
$prefs_blacklist = array("HIDE_FEEDLIST", "SYNC_COUNTERS", "ENABLE_LABELS");
+ if (FORCE_ARTICLE_PURGE != 0) {
+ array_push($prefs_blacklist, "PURGE_OLD_DAYS");
+ array_push($prefs_blacklist, "PURGE_UNREAD_ARTICLES");
+ }
+
if ($subop == "change-password") {
$old_pw = $_POST["OLD_PASSWORD"];