diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index e3917e51..d8646118 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -105,7 +105,6 @@ function expire_pleroma_posts { echo "\$notice_query=\"DELETE FROM notifications WHERE inserted_at <= '\$oldate 01:01:01'\";" >> $pleroma_expire_posts_script echo 'pg_exec($link, $notice_query);' >> $pleroma_expire_posts_script echo '$rowaff1=pg_affected_rows($link);' >> $pleroma_expire_posts_script - echo 'pg_close($link);' >> $pleroma_expire_posts_script echo '' >> $pleroma_expire_posts_script echo "\$objects_query=\"DELETE FROM objects WHERE inserted_at <= '\$oldate 01:01:01'\";" >> $pleroma_expire_posts_script echo 'pg_exec($link, $objects_query);' >> $pleroma_expire_posts_script @@ -144,6 +143,7 @@ function pleroma_recompile { if [ -f /etc/systemd/system/pleroma.service ]; then systemctl restart pleroma fi + } function logging_on_pleroma {