Revision 1503
Added by Luisehahne over 14 years ago
| uninstall.php | ||
|---|---|---|
| 16 | 16 |
* @lastmodified $Date$ |
| 17 | 17 |
* |
| 18 | 18 |
*/ |
| 19 |
/* -------------------------------------------------------- */ |
|
| 20 |
// Must include code to stop this file being accessed directly |
|
| 21 |
if(!defined('WB_PATH')) {
|
|
| 19 | 22 |
|
| 20 |
// prevent this file from being accessed directly |
|
| 21 |
if(!defined('WB_PATH')) die(header('Location: ../index.php'));
|
|
| 23 |
require_once(dirname(dirname(dirname(__FILE__))).'/framework/globalExceptionHandler.php'); |
|
| 24 |
throw new IllegalFileException(); |
|
| 25 |
} |
|
| 26 |
/* -------------------------------------------------------- */ |
|
| 22 | 27 |
|
| 23 |
$table = TABLE_PREFIX .'mod_droplets'; |
|
| 24 |
$database->query("DROP TABLE IF EXISTS `$table`");
|
|
| 25 |
|
|
| 26 |
?> |
|
| 28 |
$sql = 'DROP TABLE IF EXISTS `'.TABLE_PREFIX.'mod_droplets` '; |
|
| 29 |
$database->query($sql); |
|
Also available in: Unified diff
change sql statements to strict in module droplets
fix vars in compatibility mode for versions before 2.8.1 in frontend.functions.php