summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-26 15:15:47 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-26 15:15:47 +0200
commit0a9bb8ba73f80fd63592d994c837345698131e9b (patch)
treed8012cca55cd56d16b03a0ab122ba73503d62f03
parentefd8ad6696ebc8ff138ad71df4c0c0b788f19b6f (diff)
downloadnextcloud-server-0a9bb8ba73f80fd63592d994c837345698131e9b.tar.gz
nextcloud-server-0a9bb8ba73f80fd63592d994c837345698131e9b.zip
reduce time for auto expire to 30 days by default
-rw-r--r--apps/files_trashbin/lib/trash.php2
-rw-r--r--config/config.sample.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php
index d09c4d5f7b1..ba940084a87 100644
--- a/apps/files_trashbin/lib/trash.php
+++ b/apps/files_trashbin/lib/trash.php
@@ -25,7 +25,7 @@ namespace OCA\Files_Trashbin;
class Trashbin {
// how long do we keep files in the trash bin if no other value is defined in the config file (unit: days)
- const DEFAULT_RETENTION_OBLIGATION = 180;
+ const DEFAULT_RETENTION_OBLIGATION = 30;
// unit: percentage; 50% of available disk space/quota
const DEFAULTMAXSIZE = 50;
diff --git a/config/config.sample.php b/config/config.sample.php
index 4d1950d60ee..8d978ea6ee7 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -114,8 +114,8 @@ $CONFIG = array(
/* Password to use for sendmail mail, depends on mail_smtpauth if this is used */
"mail_smtppassword" => "",
-/* How long should ownCloud keep deleted files in the trash bin, default value: 180 days */
-'trashbin_retention_obligation' => 180,
+/* How long should ownCloud keep deleted files in the trash bin, default value: 30 days */
+'trashbin_retention_obligation' => 30,
/* allow user to change his display name, if it is supported by the back-end */
'allow_user_to_change_display_name' => true,