diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-27 16:26:54 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-27 16:26:54 +0100 |
commit | 20c2aaab00e92d74547ccd6c964102e10ea34cbf (patch) | |
tree | 59eab6866e05f3bd3efebf1a4a8809c9cffbbbe3 /lib/private/files/storage | |
parent | c8207312c73f61b2be4aa8ca1d9ae6a8c33453cf (diff) | |
download | nextcloud-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.php | 4 |
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 { |