aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/files/cache/upgrade.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/files/cache/upgrade.php b/lib/files/cache/upgrade.php
index cd9a9e91a8c..19e3d9ad575 100644
--- a/lib/files/cache/upgrade.php
+++ b/lib/files/cache/upgrade.php
@@ -14,8 +14,6 @@ class Upgrade {
*/
private $legacy;
- private $permissionsCaches = array();
-
private $numericIds = array();
private $mimeTypeIds = array();
@@ -72,9 +70,6 @@ class Upgrade {
$insertQuery->execute(array($data['id'], $data['storage'], $data['path'], $data['path_hash'], $data['parent'], $data['name'],
$data['mimetype'], $data['mimepart'], $data['size'], $data['mtime'], $data['encrypted']));
-
- $permissionsCache = $this->getPermissionsCache($data['storage_object']);
- $permissionsCache->set($data['id'], $data['user'], $data['permissions']);
}
/**
@@ -102,18 +97,6 @@ class Upgrade {
}
/**
- * @param \OC\Files\Storage\Storage $storage
- * @return Permissions
- */
- function getPermissionsCache($storage) {
- $storageId = $storage->getId();
- if (!isset($this->permissionsCaches[$storageId])) {
- $this->permissionsCaches[$storageId] = $storage->getPermissionsCache();
- }
- return $this->permissionsCaches[$storageId];
- }
-
- /**
* get the numeric storage id
*
* @param \OC\Files\Storage\Storage $storage