In the latest version (6.1.5 update 2), two tables aren't dropped when uninstalling with the 'drop tables' admin option set.
The two tables are:
#__bsms_locations
and
#__bsms_share
I believe that two blocks of code need to be added to com_biblestudy/uninstall.biblestudy.php after line 153:
bsms_locations
| Code: |
$database->setQuery ("DROP TABLE IF EXISTS #__bsms_locations");
$database->query();
if ($database->getErrorNum()) {
echo 'Database Error: '.$database->stderr().' Error ';
return false;
}
|
and straight after for bsms_share
| Code: |
$database->setQuery ("DROP TABLE IF EXISTS #__bsms_share");
$database->query();
if ($database->getErrorNum()) {
echo 'Database Error: '.$database->stderr().' Error ';
return false;
}
|
i've tested this and it works fine.. good to go in 6.1.x updates.. though am i right in thinking the installation is changing for 6.2?
Attached updated file... rename .txt to .php