mirror of
https://github.com/Karaka-Management/oms-Production.git
synced 2026-01-11 14:08:42 +00:00
Remove default uninstall
This commit is contained in:
parent
6f1f05c385
commit
f25b0299ac
|
|
@ -20,7 +20,7 @@ use phpOMS\Module\InfoManager;
|
|||
use phpOMS\Module\UninstallerAbstract;
|
||||
|
||||
/**
|
||||
* Navigation class.
|
||||
* Uninstaller class.
|
||||
*
|
||||
* @package Modules\Production\Admin
|
||||
* @license OMS License 1.0
|
||||
|
|
@ -29,22 +29,4 @@ use phpOMS\Module\UninstallerAbstract;
|
|||
*/
|
||||
class Uninstaller extends UninstallerAbstract
|
||||
{
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function uninstall(DatabasePool $dbPool, InfoManager $info) : void
|
||||
{
|
||||
parent::uninstall($dbPool, $info);
|
||||
|
||||
$query = new Builder($dbPool->get());
|
||||
|
||||
$query->prefix($dbPool->get()->getPrefix())->drop(
|
||||
'production_guideline_step',
|
||||
'production_guideline',
|
||||
'production_process'
|
||||
);
|
||||
|
||||
$dbPool->get()->con->prepare($query->toSql())->execute();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user