fix type in var name

remotes/origin/stable5
Björn Schießle 13 years ago
parent 94dab96dba
commit 21bad1fcc0
  1. 2
      apps/files_trashbin/lib/trash.php
  2. 2
      apps/files_versions/lib/versions.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);

@ -355,7 +355,7 @@ class Storage {
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);

Loading…
Cancel
Save