From 3907ef7111ec9c5ec0e453a3216fdeeed2eb4c26 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Jan 2009 13:35:59 +0100 Subject: purge feeds after updating --- modules/pref-prefs.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/pref-prefs.php') 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"]; -- cgit v1.2.3-54-g00ecf