don't force a full setup for getting storage stats

the auto-setup is good enough

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/31844/head
Robin Appelman 2 years ago
parent 791dc509d3
commit 7eca0a2553
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB

@ -40,7 +40,6 @@ class AjaxController extends Controller {
* @NoAdminRequired
*/
public function getStorageStats(string $dir = '/'): JSONResponse {
\OC_Util::setupFS();
try {
return new JSONResponse([
'status' => 'success',

Loading…
Cancel
Save