first commit
This commit is contained in:
27
modules/leofeature/sql/uninstall.php
Normal file
27
modules/leofeature/sql/uninstall.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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
|
||||
*/
|
||||
|
||||
/**
|
||||
* In some cases you should not drop the tables.
|
||||
* Maybe the merchant will just try to reset the module
|
||||
* but does not want to loose all of the data associated to the module.
|
||||
*/
|
||||
$sql = array();
|
||||
|
||||
foreach ($sql as $query) {
|
||||
if (Db::getInstance()->execute($query) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user