Skip to content

Conversation

@MorrisJobke
Copy link
Member

…al storage (doesn't count towards quota)"

This reverts commit e806aa6.

Signed-off-by: Morris Jobke <[email protected]>
@MorrisJobke
Copy link
Member Author

This fixes #10862 on master

@rullzer rullzer merged commit d0d1c85 into master Mar 1, 2019
@rullzer rullzer deleted the feature/noid/use-node-api-for-trashbin branch March 1, 2019 12:22
@felixn
Copy link

felixn commented Mar 1, 2019

Looks good to me.

Is it safe to make the same changes (i.e. switch to the node API) in the files_versions app?

$files_view = new View('/' . $uid . '/files');
$rootInfo = $files_view->getFileInfo('/', false);
$free = $quota - $rootInfo['size']; // remaining free space for user

@MorrisJobke
Copy link
Member Author

Is it safe to make the same changes (i.e. switch to the node API) in the files_versions app?

I would say so. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants