reduce time for auto expire to 30 days by default

This commit is contained in:
Björn Schießle 2013-07-26 15:15:47 +02:00
parent efd8ad6696
commit 0a9bb8ba73
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ namespace OCA\Files_Trashbin;
class 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) // 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 // unit: percentage; 50% of available disk space/quota
const DEFAULTMAXSIZE = 50; const DEFAULTMAXSIZE = 50;

View File

@ -114,8 +114,8 @@ $CONFIG = array(
/* Password to use for sendmail mail, depends on mail_smtpauth if this is used */ /* Password to use for sendmail mail, depends on mail_smtpauth if this is used */
"mail_smtppassword" => "", "mail_smtppassword" => "",
/* How long should ownCloud keep deleted files in the trash bin, default value: 180 days */ /* How long should ownCloud keep deleted files in the trash bin, default value: 30 days */
'trashbin_retention_obligation' => 180, 'trashbin_retention_obligation' => 30,
/* allow user to change his display name, if it is supported by the back-end */ /* allow user to change his display name, if it is supported by the back-end */
'allow_user_to_change_display_name' => true, 'allow_user_to_change_display_name' => true,