summaryrefslogtreecommitdiffstats
path: root/lib/private/files/objectstore
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-25 16:28:41 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-25 16:30:21 +0100
commit2c39aec8cb8ce7f74c8edd1111e7f7b6a70cf7c5 (patch)
tree340a259839e2ce8260115d7aeae3798d91cb7768 /lib/private/files/objectstore
parent711912a7b3f48065b220a909e8889aba5a93d105 (diff)
downloadnextcloud-server-2c39aec8cb8ce7f74c8edd1111e7f7b6a70cf7c5.tar.gz
nextcloud-server-2c39aec8cb8ce7f74c8edd1111e7f7b6a70cf7c5.zip
Replace deprecated constant with new class constant
Diffstat (limited to 'lib/private/files/objectstore')
-rw-r--r--lib/private/files/objectstore/objectstorestorage.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/files/objectstore/objectstorestorage.php b/lib/private/files/objectstore/objectstorestorage.php
index ae8bff52896..b0095ad94bb 100644
--- a/lib/private/files/objectstore/objectstorestorage.php
+++ b/lib/private/files/objectstore/objectstorestorage.php
@@ -72,7 +72,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
'size' => 0,
'mtime' => $mTime,
'storage_mtime' => $mTime,
- 'permissions' => \OCP\PERMISSION_ALL,
+ 'permissions' => \OCP\Constants::PERMISSION_ALL,
);
if ($dirName === '' && !$parentExists) {
@@ -332,7 +332,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
'size' => 0,
'mtime' => $mtime,
'storage_mtime' => $mtime,
- 'permissions' => \OCP\PERMISSION_ALL,
+ 'permissions' => \OCP\Constants::PERMISSION_ALL,
);
$fileId = $this->getCache()->put($path, $stat);
try {
@@ -357,7 +357,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
if (empty($stat)) {
// create new file
$stat = array(
- 'permissions' => \OCP\PERMISSION_ALL,
+ 'permissions' => \OCP\Constants::PERMISSION_ALL,
);
}
// update stat with new data