first commit
This commit is contained in:
24
modules/ps_emailsmanager/upgrade/upgrade-1.0.3.php
Normal file
24
modules/ps_emailsmanager/upgrade/upgrade-1.0.3.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2017 PrestaShop SA
|
||||
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
function upgrade_module_1_0_3($module)
|
||||
{
|
||||
if (version_compare(_PS_VERSION_, '1.7', '>=')) {
|
||||
return $module->registerHook('actionGetExtraMailTemplateVars');
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user