diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-10-05 20:52:25 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-10-05 20:52:25 +0300 |
commit | 99f1112e33af19f7f69f3edd8eb0ef9d78efc654 (patch) | |
tree | 8dda8a7d8794b660e7a8e9bb0a14ea49d7e8e05f /apps/files_versions | |
parent | cf9fb034c436825cee2e90dc8ec3b30b3c93d222 (diff) | |
download | nextcloud-server-99f1112e33af19f7f69f3edd8eb0ef9d78efc654.tar.gz nextcloud-server-99f1112e33af19f7f69f3edd8eb0ef9d78efc654.zip |
Reset to auto if not set
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/lib/expiration.php | 2 |
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]); } |