* @link https://www.oxidmodule.com */ declare(strict_types=1); namespace D3\Webauthn\Setup; use OxidEsales\Eshop\Core\Exception\DatabaseConnectionException; use OxidEsales\Eshop\Core\Exception\DatabaseErrorException; class Events { /** * Execute action on activate event * @codeCoverageIgnore * @return void * @throws DatabaseConnectionException * @throws DatabaseErrorException */ public static function onActivate() { if (defined('OXID_PHP_UNIT')) { return; } $actions = oxNew(Actions::class); $actions->setupModule(); $actions->regenerateViews(); $actions->clearCache(); $actions->seoUrl(); } /** * @codeCoverageIgnore * @return void */ public static function onDeactivate(): void { } }