]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #76 from fmms/master
authorLukas Reschke <lukas@statuscode.ch>
Wed, 24 Oct 2012 06:48:27 +0000 (23:48 -0700)
committerLukas Reschke <lukas@statuscode.ch>
Wed, 24 Oct 2012 06:48:27 +0000 (23:48 -0700)
checkstyle: some more cleanups

1  2 
apps/files/index.php

index a65ffe732a107bafe6bc01511ec7f3c6f76295c4,4d169757cc71cb7b1946942e2e4e8753c802506d..92fda5b21e596adcd6ed99599ea429342b477596
@@@ -85,9 -85,9 +85,9 @@@ $upload_max_filesize = OCP\Util::comput
  $post_max_size = OCP\Util::computerFileSize(ini_get('post_max_size'));
  $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
  
 -$freeSpace=OC_Filesystem::free_space('/');
 +$freeSpace=OC_Filesystem::free_space($dir);
  $freeSpace=max($freeSpace,0);
- $maxUploadFilesize = min($maxUploadFilesize ,$freeSpace);
+ $maxUploadFilesize = min($maxUploadFilesize$freeSpace);
  
  $permissions = OCP\Share::PERMISSION_READ;
  if (OC_Filesystem::isUpdatable($dir.'/')) {