35 lines
867 B
PHP
35 lines
867 B
PHP
<?php
|
|
/**
|
|
* 2015-2017 Bonpresta
|
|
*
|
|
* Bonpresta Awesome Image Slider
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the General Public License (GPL 2.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* http://opensource.org/licenses/GPL-2.0
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade the module to newer
|
|
* versions in the future.
|
|
*
|
|
* @author Bonpresta
|
|
* @copyright 2015-2017 Bonpresta
|
|
* @license http://opensource.org/licenses/GPL-2.0 General Public License (GPL 2.0)
|
|
*/
|
|
|
|
$sql = array();
|
|
|
|
$sql[] = 'DROP TABLE IF EXISTS`'._DB_PREFIX_.'bonslick`';
|
|
|
|
$sql[] = 'DROP TABLE IF EXISTS`'._DB_PREFIX_.'bonslick_lang`';
|
|
|
|
foreach ($sql as $query) {
|
|
if (Db::getInstance()->execute($query) == false) {
|
|
return false;
|
|
}
|
|
}
|