mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Correct it
This commit is contained in:
parent
5bf7791b42
commit
469b1e8dd2
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,8 @@ OCP\JSON::checkLoggedIn();
|
|||
OCP\JSON::callCheck();
|
||||
$l = OC_L10N::get('files');
|
||||
|
||||
|
||||
$dir = $_POST['dir'];
|
||||
// get array with current storage stats (e.g. max file size)
|
||||
$storageStats = \OCA\files\lib\Helper::buildFileStorageStatistics($dir);
|
||||
|
||||
|
|
@ -37,7 +39,6 @@ foreach ($_FILES['files']['error'] as $error) {
|
|||
}
|
||||
$files = $_FILES['files'];
|
||||
|
||||
$dir = $_POST['dir'];
|
||||
$error = '';
|
||||
|
||||
$maxUploadFilesize = OCP\Util::maxUploadFilesize($dir);
|
||||
|
|
|
|||
Loading…
Reference in a new issue