summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-04-05 15:42:35 +0200
committerRobin Appelman <robin@icewind.nl>2022-04-06 13:13:37 +0200
commit7eca0a25530ff68b5eb169fc9d595f4fa97852fa (patch)
tree9cb110fd36743f64b41f3620e2e421cb4142023c /apps/files/lib
parent791dc509d3f48d882b556ca67a4881af6bc3c54e (diff)
downloadnextcloud-server-7eca0a25530ff68b5eb169fc9d595f4fa97852fa.tar.gz
nextcloud-server-7eca0a25530ff68b5eb169fc9d595f4fa97852fa.zip
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',