/home/sharedstore/public_html/prestashop.sharedstore.ma/modules/psgdpr/sql
NameSizeModeActions
index.php11140755editdlrm
install.php24770755editdlrm
uninstall.php12730755editdlrm
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/modules/psgdpr/sql/uninstall.php (1273B)
* @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 = []; $sql[] = 'DROP TABLE IF EXISTS `' . _DB_PREFIX_ . 'psgdpr_consent`'; $sql[] = 'DROP TABLE IF EXISTS `' . _DB_PREFIX_ . 'psgdpr_consent_lang`'; foreach ($sql as $query) { if (Db::getInstance()->execute($query) == false) { return false; } }