Skip to content

Commit 448044d

Browse files
committed
Fix getstorage call
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent 48d8438 commit 448044d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/files/lib/Controller/AjaxController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function __construct(string $appName, IRequest $request) {
4141
* @NoAdminRequired
4242
*/
4343
public function getStorageStats(string $dir = '/'): JSONResponse {
44+
\OC_Util::setupFS();
4445
try {
4546
return new JSONResponse([
4647
'status' => 'success',

0 commit comments

Comments
 (0)