diff options
author | Ben Burgess <88810029+bx80@users.noreply.github.com> | 2022-04-20 03:13:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 03:13:42 +0300 |
commit | b330104dc3b1f69c1b6e98835972b36fdef033bc (patch) | |
tree | 70c80f8199054c1ade641b98293e2c3e1185c6ad /plugins/Marketplace | |
parent | dc753b2fc6e691d0830ec03143ae06c091474296 (diff) |
Class case sensitivity fix (#19118)
Diffstat (limited to 'plugins/Marketplace')
-rw-r--r-- | plugins/Marketplace/Commands/SetLicenseKey.php | 6 |
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."); } } |