summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-01-27 16:26:54 +0100
committerRobin Appelman <icewind@owncloud.com>2014-01-27 16:26:54 +0100
commit20c2aaab00e92d74547ccd6c964102e10ea34cbf (patch)
tree59eab6866e05f3bd3efebf1a4a8809c9cffbbbe3 /lib/private/files/storage
parentc8207312c73f61b2be4aa8ca1d9ae6a8c33453cf (diff)
downloadnextcloud-server-20c2aaab00e92d74547ccd6c964102e10ea34cbf.tar.gz
nextcloud-server-20c2aaab00e92d74547ccd6c964102e10ea34cbf.zip
Actually rename the variable
Diffstat (limited to 'lib/private/files/storage')
-rw-r--r--lib/private/files/storage/wrapper/quota.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files/storage/wrapper/quota.php b/lib/private/files/storage/wrapper/quota.php
index 2fc3119fc7d..16127403181 100644
--- a/lib/private/files/storage/wrapper/quota.php
+++ b/lib/private/files/storage/wrapper/quota.php
@@ -26,7 +26,7 @@ class Quota extends Wrapper {
public function __construct($parameters) {
$this->storage = $parameters['storage'];
$this->quota = $parameters['quota'];
- $this->freeSpaceRoot = isset($parameters['root']) ? $parameters['root'] : '';
+ $this->sizeRoot = isset($parameters['root']) ? $parameters['root'] : '';
}
protected function getSize($path) {
@@ -49,7 +49,7 @@ class Quota extends Wrapper {
if ($this->quota < 0) {
return $this->storage->free_space($path);
} else {
- $used = $this->getSize($this->freeSpaceRoot);
+ $used = $this->getSize($this->sizeRoot);
if ($used < 0) {
return \OC\Files\SPACE_NOT_COMPUTED;
} else {