summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/wrapper/quota.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/storage/wrapper/quota.php')
-rw-r--r--lib/private/files/storage/wrapper/quota.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/files/storage/wrapper/quota.php b/lib/private/files/storage/wrapper/quota.php
index 34bd2589947..3c0fda98dad 100644
--- a/lib/private/files/storage/wrapper/quota.php
+++ b/lib/private/files/storage/wrapper/quota.php
@@ -60,11 +60,6 @@ class Quota extends Wrapper {
$cache = $this->getCache();
$data = $cache->get($path);
if (is_array($data) and isset($data['size'])) {
- if (isset($data['unencrypted_size'])
- && $data['unencrypted_size'] > 0
- ) {
- return $data['unencrypted_size'];
- }
return $data['size'];
} else {
return \OCP\Files\FileInfo::SPACE_NOT_COMPUTED;