diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index 8f4e070..a45afc0 100644 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -20,7 +20,7 @@ use phpOMS\Module\InfoManager; use phpOMS\Module\UninstallerAbstract; /** - * Navigation class. + * Uninstaller class. * * @package Modules\Tasks\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( - 'task_element', - 'task_account', - 'task' - ); - - $dbPool->get()->con->prepare($query->toSql())->execute(); - } }