diff options
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/Controller/AjaxController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/lib/Controller/AjaxController.php b/apps/files/lib/Controller/AjaxController.php index 52b774915ea..51a4a5b2a37 100644 --- a/apps/files/lib/Controller/AjaxController.php +++ b/apps/files/lib/Controller/AjaxController.php @@ -41,6 +41,7 @@ class AjaxController extends Controller { * @NoAdminRequired */ public function getStorageStats(string $dir = '/'): JSONResponse { + \OC_Util::setupFS(); try { return new JSONResponse([ 'status' => 'success', |