don't force a full setup for getting storage stats

the auto-setup is good enough

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2022-04-05 15:42:35 +02:00
parent 791dc509d3
commit 7eca0a2553
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

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',