aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r--apps/files_trashbin/lib/Expiration.php4
-rw-r--r--apps/files_trashbin/lib/Sabre/PropfindPlugin.php8
-rw-r--r--apps/files_trashbin/lib/Trashbin.php2
3 files changed, 7 insertions, 7 deletions
diff --git a/apps/files_trashbin/lib/Expiration.php b/apps/files_trashbin/lib/Expiration.php
index 9a660f9e942..3a2dc2ede03 100644
--- a/apps/files_trashbin/lib/Expiration.php
+++ b/apps/files_trashbin/lib/Expiration.php
@@ -32,8 +32,8 @@ use OCP\IConfig;
class Expiration {
// 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 = 30;
- const NO_OBLIGATION = -1;
+ public const DEFAULT_RETENTION_OBLIGATION = 30;
+ public const NO_OBLIGATION = -1;
/** @var ITimeFactory */
private $timeFactory;
diff --git a/apps/files_trashbin/lib/Sabre/PropfindPlugin.php b/apps/files_trashbin/lib/Sabre/PropfindPlugin.php
index 1920ed17863..ac3fcdb3192 100644
--- a/apps/files_trashbin/lib/Sabre/PropfindPlugin.php
+++ b/apps/files_trashbin/lib/Sabre/PropfindPlugin.php
@@ -35,10 +35,10 @@ use Sabre\DAV\Server;
use Sabre\DAV\ServerPlugin;
class PropfindPlugin extends ServerPlugin {
- const TRASHBIN_FILENAME = '{http://nextcloud.org/ns}trashbin-filename';
- const TRASHBIN_ORIGINAL_LOCATION = '{http://nextcloud.org/ns}trashbin-original-location';
- const TRASHBIN_DELETION_TIME = '{http://nextcloud.org/ns}trashbin-deletion-time';
- const TRASHBIN_TITLE = '{http://nextcloud.org/ns}trashbin-title';
+ public const TRASHBIN_FILENAME = '{http://nextcloud.org/ns}trashbin-filename';
+ public const TRASHBIN_ORIGINAL_LOCATION = '{http://nextcloud.org/ns}trashbin-original-location';
+ public const TRASHBIN_DELETION_TIME = '{http://nextcloud.org/ns}trashbin-deletion-time';
+ public const TRASHBIN_TITLE = '{http://nextcloud.org/ns}trashbin-title';
/** @var Server */
private $server;
diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php
index adfdf1364be..4ceac3b04c5 100644
--- a/apps/files_trashbin/lib/Trashbin.php
+++ b/apps/files_trashbin/lib/Trashbin.php
@@ -56,7 +56,7 @@ use OCP\User;
class Trashbin {
// unit: percentage; 50% of available disk space/quota
- const DEFAULTMAXSIZE = 50;
+ public const DEFAULTMAXSIZE = 50;
/**
* Whether versions have already be rescanned during this PHP request