diff options
author | sgiehl <stefan@piwik.org> | 2016-01-03 23:39:23 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-01-03 23:39:23 +0300 |
commit | 158ebdf8ec467971bb60344ebe9db46e00d61fcf (patch) | |
tree | 26790a2c56e761ad5460e433b5c54b29d6d0d8c1 /plugins/CustomVariables/Commands | |
parent | c9bb9c272790bd9a210b03788ba647ef742b99db (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.php | 2 |
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; } |