From 7eca0a25530ff68b5eb169fc9d595f4fa97852fa Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 5 Apr 2022 15:42:35 +0200 Subject: don't force a full setup for getting storage stats the auto-setup is good enough Signed-off-by: Robin Appelman --- apps/files/lib/Controller/AjaxController.php | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/files/lib/Controller/AjaxController.php') diff --git a/apps/files/lib/Controller/AjaxController.php b/apps/files/lib/Controller/AjaxController.php index 000d950595d..cd26ab7a6f8 100644 --- a/apps/files/lib/Controller/AjaxController.php +++ b/apps/files/lib/Controller/AjaxController.php @@ -40,7 +40,6 @@ class AjaxController extends Controller { * @NoAdminRequired */ public function getStorageStats(string $dir = '/'): JSONResponse { - \OC_Util::setupFS(); try { return new JSONResponse([ 'status' => 'success', -- cgit v1.2.3