* @copyright 2017 NetReviews SAS * @license NetReviews * @version Release: $Revision: 7.3.0 * @date 03/01/2017 * International Registered Trademark & Property of NetReviews SAS */ if (!defined('_PS_VERSION_')) { exit; } /** * Function used to update your module from previous versions to the version 7.3.0, * Don't forget to create one file per version. */ function upgrade_module_7_3_0($module) { return upgradeHook_7_3_0($module) //Upgrade hook from previous versions to the version 7.3.0 && upgradePsConfiguration_7_3_0() //Upgrade PS configuration from previous versions to the version 7.3.0 && upgradeDatabase_7_3_0(); //Upgrade database from previous versions to the version 7.3.0 } /** * Function used to update your hook from previous versions to the version 7.3.0, */ function upgradeHook_7_3_0($module) { if (version_compare(_PS_VERSION_, '1.7', '>')) { return $module->registerHook('displayProductPriceBlock') && $module->registerHook('displayProductButtons') && $module->registerHook('displayBeforeBodyClosingTag') && $module->registerHook('displayProductExtraContent'); } else { return true; } } /** * Function used to update your database from previous versions to the version 7.3.0, */ function upgradeDatabase_7_3_0() { return true; } /** * Function used to update your PS configuration from previous versions to the version 7.3.0, */ function upgradePsConfiguration_7_3_0() { return true; }