summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Expiration.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
commit28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch)
tree5bb8a104ec6b5af821b81cf392c69167deca4c0a /apps/files_versions/lib/Expiration.php
parent1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff)
downloadnextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.tar.gz
nextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.zip
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files_versions/lib/Expiration.php')
-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 c9c91d67d7f..ab1eeab6901 100644
--- a/apps/files_versions/lib/Expiration.php
+++ b/apps/files_versions/lib/Expiration.php
@@ -30,7 +30,7 @@ use OCP\IConfig;
class Expiration {
// how long do we keep files a version if no other value is defined in the config file (unit: days)
- const NO_OBLIGATION = -1;
+ public const NO_OBLIGATION = -1;
/** @var ITimeFactory */
private $timeFactory;