Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2021-09-02 03:13:31 +0300
committerGitHub <noreply@github.com>2021-09-02 03:13:31 +0300
commit27d0af9ef317ca5050f904f9e34b802f084a7905 (patch)
tree4af2f599d76ae1b4c6e73340ca55b9eb5b52e0a9 /core/ArchiveProcessor
parent8a70769d314eb5658a177dcacb4e40445125a823 (diff)
When processing a dependent archive for a range, then only process the requested plugin, not all plugins (#17943)
* try not report all plugin range * Update Rules.php
Diffstat (limited to 'core/ArchiveProcessor')
-rw-r--r--core/ArchiveProcessor/Rules.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/ArchiveProcessor/Rules.php b/core/ArchiveProcessor/Rules.php
index a3a523b653..cd7ef3e394 100644
--- a/core/ArchiveProcessor/Rules.php
+++ b/core/ArchiveProcessor/Rules.php
@@ -69,7 +69,11 @@ class Rules
if ($segment->isEmpty() && ($periodLabel != 'range' || SettingsServer::isArchivePhpTriggered())) {
return true;
}
-
+
+ if ($periodLabel === 'range' && !SettingsServer::isArchivePhpTriggered()) {
+ return false;
+ }
+
return self::isSegmentPreProcessed($idSites, $segment);
}