Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix global quota
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed May 18, 2018
1 parent 6a8fa37 commit a29628d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/meta.quota/QuotaComputer.php
Expand Up @@ -219,7 +219,7 @@ private function getUsageForContext(ContextInterface $ctx){

$ctx = $this->getEffectiveContext($ctx);
$rootNode = new AJXP_Node($ctx->getUrlBase()."/");

$data = $this->getUserData($ctx);
if (!isSet($data["REPO_USAGES"][$ctx->getRepositoryId()]) || $this->options["CACHE_QUOTA"] === false) {

$quota = $rootNode->getSizeRecursive();
Expand Down

0 comments on commit a29628d

Please sign in to comment.