* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ declare(strict_types=1); namespace PrestaShop\Module\Mbo\Traits\Hooks; trait UseActionGeneralPageSave { /** * @param array $params */ public function hookActionGeneralPageSave(array $params): void { if (isset($params['route']) && $params['route'] === 'admin_preferences_save') { // User may have updated the SSL configuration $this->updateShop(); } } }