Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-10-05 20:52:25 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-10-05 20:52:25 +0300
commit99f1112e33af19f7f69f3edd8eb0ef9d78efc654 (patch)
tree8dda8a7d8794b660e7a8e9bb0a14ea49d7e8e05f /apps/files_versions
parentcf9fb034c436825cee2e90dc8ec3b30b3c93d222 (diff)
Reset to auto if not set
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/lib/expiration.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/expiration.php b/apps/files_versions/lib/expiration.php
index fba705251e9..4b3cecc1202 100644
--- a/apps/files_versions/lib/expiration.php
+++ b/apps/files_versions/lib/expiration.php
@@ -138,7 +138,7 @@ class Expiration {
}
if (!isset($splitValues[1])) {
- $maxValue = self::NO_OBLIGATION;
+ $maxValue = 'auto';
} else {
$maxValue = trim($splitValues[1]);
}