]> git.wh0rd.org - tt-rss.git/commit - classes/pref/prefs.php
hide purge options when config.php has forced things
authorMike Frysinger <vapier@gmail.com>
Thu, 30 May 2013 05:43:52 +0000 (01:43 -0400)
committerMike Frysinger <vapier@gmail.com>
Mon, 10 Dec 2018 01:18:39 +0000 (20:18 -0500)
commitfbff72e081e812926f89e608cf7af1b7d8c841cb
tree0569285805b34841888e5fce035a0a801d43b16e
parent8add63ca316fa1bf30a8e14a2726a64d9648ff3c
hide purge options when config.php has forced things

Showing the purging options to the user isn't useful when the server's
config.php has forced a global setting.  Rather than mark them disabled,
omit them entirely.  This cleans up the UI and simplifies the code a bit.
classes/pref/feeds.php
classes/pref/prefs.php