aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Storage.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/lib/Storage.php')
-rw-r--r--apps/files_versions/lib/Storage.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_versions/lib/Storage.php b/apps/files_versions/lib/Storage.php
index f62650e539d..cb5a02581b5 100644
--- a/apps/files_versions/lib/Storage.php
+++ b/apps/files_versions/lib/Storage.php
@@ -57,13 +57,13 @@ use OCP\Lock\ILockingProvider;
use OCP\User;
class Storage {
- const DEFAULTENABLED=true;
- const DEFAULTMAXSIZE=50; // unit: percentage; 50% of available disk space/quota
- const VERSIONS_ROOT = 'files_versions/';
+ public const DEFAULTENABLED=true;
+ public const DEFAULTMAXSIZE=50; // unit: percentage; 50% of available disk space/quota
+ public const VERSIONS_ROOT = 'files_versions/';
- const DELETE_TRIGGER_MASTER_REMOVED = 0;
- const DELETE_TRIGGER_RETENTION_CONSTRAINT = 1;
- const DELETE_TRIGGER_QUOTA_EXCEEDED = 2;
+ public const DELETE_TRIGGER_MASTER_REMOVED = 0;
+ public const DELETE_TRIGGER_RETENTION_CONSTRAINT = 1;
+ public const DELETE_TRIGGER_QUOTA_EXCEEDED = 2;
// files for which we can remove the versions after the delete operation was successful
private static $deletedFiles = [];