Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use quota manager to calculate "active project storage used".
The 'active_project_storage_used' method is used to report "how much of the storage allowance for the given project submission has been used." (The name suggests that this is somehow similar to 'published_project_storage_used', but this is not the case: *that* method is used to inform visitors "how large will the project files be if I download all of them", which is only tangentially related to the resource usage that a particular submission is responsible for.) Reporting (as well as limiting) resource usage is the task of the QuotaManager. Use the QuotaManager API and remove the redundant ProjectFiles API.
- Loading branch information