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 <thomas.steur@gmail.com>2015-08-29 14:02:01 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-08-29 14:02:01 +0300
commit1196447c73918b41a61bb38e17044067ca9d88a6 (patch)
treec0a43ded9671c115f53c5436a44021684c8888d1 /plugins/CustomVariables/Commands
parent96ae06bdeff514e579237776bd148794003af262 (diff)
return min amount of available custom variables across tables instead of maximum
Diffstat (limited to 'plugins/CustomVariables/Commands')
-rw-r--r--plugins/CustomVariables/Commands/Info.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CustomVariables/Commands/Info.php b/plugins/CustomVariables/Commands/Info.php
index bf300e357a..e5dfce5d5b 100644
--- a/plugins/CustomVariables/Commands/Info.php
+++ b/plugins/CustomVariables/Commands/Info.php
@@ -28,7 +28,7 @@ class Info extends ConsoleCommand
protected function execute(InputInterface $input, OutputInterface $output)
{
- $maxVars = CustomVariables::getMaxCustomVariables();
+ $maxVars = CustomVariables::getNumUsableCustomVariables();
if ($this->hasEverywhereSameAmountOfVariables()) {
$this->writeSuccessMessage($output, array(