Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-04-05 16:42:35 +0300
committerRobin Appelman <robin@icewind.nl>2022-04-06 14:13:37 +0300
commit7eca0a25530ff68b5eb169fc9d595f4fa97852fa (patch)
tree9cb110fd36743f64b41f3620e2e421cb4142023c /apps/files/lib
parent791dc509d3f48d882b556ca67a4881af6bc3c54e (diff)
don't force a full setup for getting storage stats
the auto-setup is good enough Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Controller/AjaxController.php1
1 files changed, 0 insertions, 1 deletions
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',