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:
authorBen Burgess <88810029+bx80@users.noreply.github.com>2022-04-20 03:13:42 +0300
committerGitHub <noreply@github.com>2022-04-20 03:13:42 +0300
commitb330104dc3b1f69c1b6e98835972b36fdef033bc (patch)
tree70c80f8199054c1ade641b98293e2c3e1185c6ad
parentdc753b2fc6e691d0830ec03143ae06c091474296 (diff)
Class case sensitivity fix (#19118)
-rw-r--r--plugins/Marketplace/Commands/SetLicenseKey.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Marketplace/Commands/SetLicenseKey.php b/plugins/Marketplace/Commands/SetLicenseKey.php
index 2b22cc7daa..bb3e529587 100644
--- a/plugins/Marketplace/Commands/SetLicenseKey.php
+++ b/plugins/Marketplace/Commands/SetLicenseKey.php
@@ -12,7 +12,7 @@ use Piwik\Plugin\ConsoleCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
-use Piwik\Plugins\Marketplace\Api;
+use Piwik\Plugins\Marketplace\API;
/**
* marketplace:set-license-key console command
@@ -31,12 +31,12 @@ class SetLicenseKey extends ConsoleCommand
$licenseKey = $input->getOption('license-key');
if (empty(trim($licenseKey))) {
- Api::getInstance()->deleteLicenseKey();
+ API::getInstance()->deleteLicenseKey();
$output->writeln("License key removed.");
return;
}
- Api::getInstance()->saveLicenseKey($licenseKey);
+ API::getInstance()->saveLicenseKey($licenseKey);
$output->writeln("License key set.");
}
}