Skip to content

Commit 7eca0a2

Browse files
committed
don't force a full setup for getting storage stats
the auto-setup is good enough Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 791dc50 commit 7eca0a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/files/lib/Controller/AjaxController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public function __construct(string $appName, IRequest $request) {
4040
* @NoAdminRequired
4141
*/
4242
public function getStorageStats(string $dir = '/'): JSONResponse {
43-
\OC_Util::setupFS();
4443
try {
4544
return new JSONResponse([
4645
'status' => 'success',

0 commit comments

Comments
 (0)