Tiny Tiny RSS: Community

Default value for purge articles older than (?)

Is there an option to configure a default value for “Purge articles older than” but allow the user to change it if he wants to?
I only found FORCE_ARTICLE_PURGE which would work but it blocks the user from editing the purge after n days in the settings.

The default value by default appears to be 60 days. If it is not possible to configure directly, can anyone tell me where the ‘60’ is hardcoded?

it’s a per-user preference (PURGE_OLD_DAYS). default value for those is set in the database schema.

default for new users: update ttrss_prefs set def_value = x where pref_name = y, for existing users update ttrss_user_prefs, should be self explanatory

Perfect, that worked!