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:
authorsgiehl <stefan@piwik.org>2016-01-03 23:39:23 +0300
committersgiehl <stefan@piwik.org>2016-01-03 23:39:23 +0300
commit158ebdf8ec467971bb60344ebe9db46e00d61fcf (patch)
tree26790a2c56e761ad5460e433b5c54b29d6d0d8c1 /plugins/CustomVariables/Commands
parentc9bb9c272790bd9a210b03788ba647ef742b99db (diff)
fixes #8469 - enable no interaction mode for customvariables:set-max-custom-variables command
Diffstat (limited to 'plugins/CustomVariables/Commands')
-rw-r--r--plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php b/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php
index 7ff8889d65..2f2fd7e396 100644
--- a/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php
+++ b/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php
@@ -55,7 +55,7 @@ class SetNumberOfCustomVariables extends ConsoleCommand
$this->printChanges($scope, $numVarsToSet, $output);
}
- if (!$this->confirmChange($output)) {
+ if ($input->isInteractive() && !$this->confirmChange($output)) {
return;
}