summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 0f39ad185cc..d561ad27e84 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -435,6 +435,33 @@ $CONFIG = array(
/**
+ * If the versions app is enabled (default), this setting defines the policy
+ * for when versions will be permanently deleted.
+ * The app allows for two settings, a minimum time for version retention,
+ * and a maximum time for version retention.
+ * Minimum time is the number of days a version will be kept, after which it
+ * may be deleted. Maximum time is the number of days at which it is guaranteed
+ * to be deleted.
+ * Both minimum and maximum times can be set together to explicitly define
+ * version deletion. For migration purposes, this setting is installed
+ * initially set to "auto", which is equivalent to the default setting in
+ * ownCloud 8.1 and before.
+ *
+ * Available values:
+ * ``auto`` default setting. Automatically expire versions according to
+ * expire rules. Please refer to Files_versions online documentation
+ * for more info.
+ * ``D, auto`` keep versions at least for D days, apply expire rules to all
+ * versions that older than D days
+ * * ``auto, D`` delete all versions that are older than D days automatically,
+ * delete other versions according to expire rules
+ * * ``D1, D2`` keep versions for at least D1 days and delete when exceeds D2 days
+ * ``disabled`` versions auto clean disabled, versions will be kept forever
+ */
+'versions_retention_obligation' => 'auto',
+
+
+/**
* ownCloud Verifications
*
* ownCloud performs several verification checks. There are two options,