diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-11-26 08:31:23 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-11-26 08:31:23 +0100 |
commit | c5fa8f1bdc08b07d03fcc9f9c84033960ec4e20f (patch) | |
tree | b2e989a445cf6afce925dea68765dc779dbc772a /apps/files_trashbin | |
parent | 3766d98df6845397d810d583575c1fcedb51df90 (diff) | |
parent | 2c39aec8cb8ce7f74c8edd1111e7f7b6a70cf7c5 (diff) | |
download | nextcloud-server-c5fa8f1bdc08b07d03fcc9f9c84033960ec4e20f.tar.gz nextcloud-server-c5fa8f1bdc08b07d03fcc9f9c84033960ec4e20f.zip |
Merge pull request #12421 from owncloud/issue/6101-remove-namespace-permission-constants
Issue/6101 remove namespace permission constants
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/lib/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/helper.php b/apps/files_trashbin/lib/helper.php index c2b81e3dbc8..c99662480df 100644 --- a/apps/files_trashbin/lib/helper.php +++ b/apps/files_trashbin/lib/helper.php @@ -88,7 +88,7 @@ class Helper $entry = \OCA\Files\Helper::formatFileInfo($i); $entry['id'] = $id++; $entry['etag'] = $entry['mtime']; // add fake etag, it is only needed to identify the preview image - $entry['permissions'] = \OCP\PERMISSION_READ; + $entry['permissions'] = \OCP\Constants::PERMISSION_READ; if (\OCP\App::isEnabled('files_encryption')) { $entry['isPreviewAvailable'] = false; } |