diff options
Diffstat (limited to 'plugins/Marketplace/Commands/SetLicenseKey.php')
-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."); } } |