Merge pull request #13789 from nextcloud/jtr/fix-activity-config-sample-hardcoded

fix: drop hard-coded Activity app config
This commit is contained in:
rakekniven
2025-10-14 14:17:00 +02:00
committed by GitHub
2 changed files with 2 additions and 24 deletions

View File

@@ -29,8 +29,7 @@ Furthermore it is recommended to configure the background job ``Webcron`` or
``Cron`` as described in :doc:`background_jobs_configuration`.
There is also a configuration option ``activity_expire_days`` available in your
``config.php`` (See :ref:`label-activity-app-config`) which allows
you to clean-up older activities from the database.
``config.php`` which allows you to clean-up older activities from the database.
.. _label-activities-groupfolders:
@@ -87,4 +86,4 @@ exclude these users from expiration::
'second_admin'
]
For these users, their activity records will never deleted from the database.
For these users, their activity records will never deleted from the database.

View File

@@ -4223,27 +4223,6 @@ Defaults to ``true``
App config options
------------------
.. _label-activity-app-config:
Activity app
^^^^^^^^^^^^
Retention for activities of the activity app:
::
'activity_expire_days' => 365,
Every day a cron job is ran, which deletes all activities for all users
which are older then the number of days that is set for ``activity_expire_days``
::
'activity_use_cached_mountpoints' => false,
Before enabling this, read the warning in :ref:`label-activities-groupfolders`
Settings app
^^^^^^^^^^^^