diff options
author | Andrew Dolgov <[email protected]> | 2009-01-20 13:35:59 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-20 13:35:59 +0100 |
commit | 3907ef7111ec9c5ec0e453a3216fdeeed2eb4c26 (patch) | |
tree | caf3812b3483012088f73e79c839daca5529358a /modules/pref-prefs.php | |
parent | d7135e2a81fd78621bf59041f022a683583cd671 (diff) |
purge feeds after updating
Diffstat (limited to 'modules/pref-prefs.php')
-rw-r--r-- | modules/pref-prefs.php | 5 |
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"]; |