diff options
Diffstat (limited to 'plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php')
-rw-r--r-- | plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php b/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php index 29addaa12d..7ff8889d65 100644 --- a/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php +++ b/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php @@ -48,11 +48,9 @@ class SetNumberOfCustomVariables extends ConsoleCommand return; } - $output->writeln(''); $output->writeln(sprintf('Configuring Piwik for %d custom variables', $numVarsToSet)); - foreach (Model::getScopes() as $scope) { $this->printChanges($scope, $numVarsToSet, $output); } @@ -61,19 +59,16 @@ class SetNumberOfCustomVariables extends ConsoleCommand return; } - $output->writeln(''); $output->writeln('Starting to apply changes'); $output->writeln(''); - $this->progress = $this->initProgress($numChangesToPerform, $output); foreach (Model::getScopes() as $scope) { $this->performChange($scope, $numVarsToSet, $output); } - Cache::clearCacheGeneral(); $this->progress->finish(); |