Also read months

This commit is contained in:
Bob Mottram 2018-01-20 21:11:45 +00:00
parent 05f195ac99
commit 3e9a62703e
1 changed files with 2 additions and 0 deletions

View File

@ -598,6 +598,8 @@ function configure_interactive_pleroma {
function upgrade_pleroma {
read_config_param PLEROMA_DOMAIN_NAME
read_config_param PLEROMA_EXPIRE_MONTHS
if [ ! -f $pleroma_expire_posts_script ]; then
expire_pleroma_posts $PLEROMA_DOMAIN_NAME $PLEROMA_EXPIRE_MONTHS
fi