/home/sharedstore/public_html/prestashop.sharedstore.ma/modules/czcouponpop/sql
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/modules/czcouponpop/sql/uninstall.php (1572B)
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*/
/**
* 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();
$sql[] = 'DROP TABLE IF EXISTS `'._DB_PREFIX_.'czcouponpop_lang`';
$sql[] = 'DROP TABLE IF EXISTS `'._DB_PREFIX_.'czcouponpop_shop`';
$sql[] = 'DROP TABLE IF EXISTS `'._DB_PREFIX_.'czcouponpop`';
foreach ($sql as $query)
if (Db::getInstance()->execute($query) == false)
return false;