first commit
This commit is contained in:
34
modules/leofeature/upgrade/upgrade-1.1.0.php
Normal file
34
modules/leofeature/upgrade/upgrade-1.1.0.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 Leotheme
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Leo feature for prestashop 1.7: ajax cart, review, compare, wishlist at product list
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* @author leotheme <leotheme@gmail.com>
|
||||
* @copyright 2007-2015 Leotheme
|
||||
* @license http://leotheme.com - prestashop template provider
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function updates your module from previous versions to the version 1.1,
|
||||
* usefull when you modify your database, or register a new hook ...
|
||||
* Don't forget to create one file per version.
|
||||
*/
|
||||
function upgrade_module_1_1_0($module)
|
||||
{
|
||||
/**
|
||||
* Do everything you want right there,
|
||||
* You could add a column in one of your module's tables
|
||||
*/
|
||||
// validate module
|
||||
unset($module);
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user