diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php index d09c4d5f7b1426c6ae23c78501dc095cd4b3df06..ba940084a87cd14cd037e76b927cbe74ae903b17 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 4d1950d60eec8a9d96fae119ff1fce8ea31d108c..8d978ea6ee740da984f4cabae408b85ed71b316f 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,