/** * Initialize controller * * @return void */ public function init() { parent::init(); if (!$this->getAction()) { // Check license keys registered in the store \XLite\Core\Marketplace::getInstance()->checkAddonsKeys(); // Download data from marketplace \XLite\Core\Marketplace::getInstance()->saveAddonsList(); } }