summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-03-04 12:33:16 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-03-04 12:33:16 +0100
commit21bad1fcc08a5d8a765bebcdf03ce169b649b6de (patch)
tree4f58192a2d95b8252dc503b6065e47558fbf685d /apps/files_trashbin/lib
parent94dab96dba98ad8a26d157c40ff91b5311e4f373 (diff)
downloadnextcloud-server-21bad1fcc08a5d8a765bebcdf03ce169b649b6de.tar.gz
nextcloud-server-21bad1fcc08a5d8a765bebcdf03ce169b649b6de.zip
fix type in var name
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r--apps/files_trashbin/lib/trash.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php
index ee95765bc77..4b7e9abd92d 100644
--- a/apps/files_trashbin/lib/trash.php
+++ b/apps/files_trashbin/lib/trash.php
@@ -108,7 +108,7 @@ class Trashbin {
if ( $quota === null || $quota === 'default') {
$quota = \OC_Appconfig::getValue('files', 'default_quota');
}
- if ( $quota === null || $quote === 'none' ) {
+ if ( $quota === null || $quota === 'none' ) {
$quota = \OC\Files\Filesystem::free_space('/') / count(\OCP\User::getUsers());
} else {
$quota = \OCP\Util::computerFileSize($quota);