Browse Source

don't force a full setup for getting storage stats

the auto-setup is good enough

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v24.0.0beta3
Robin Appelman 2 years ago
parent
commit
7eca0a2553
No account linked to committer's email address
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      apps/files/lib/Controller/AjaxController.php

+ 0
- 1
apps/files/lib/Controller/AjaxController.php View File

@@ -40,7 +40,6 @@ class AjaxController extends Controller {
* @NoAdminRequired
*/
public function getStorageStats(string $dir = '/'): JSONResponse {
\OC_Util::setupFS();
try {
return new JSONResponse([
'status' => 'success',

Loading…
Cancel
Save