From b154d6ca82fddc76d8b730a354fc0a137be9ce34 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 21 Dec 2018 20:22:10 +0100 Subject: [PATCH] Remove default uninstall --- Admin/Uninstaller.php | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index 60119a3..541be03 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\Navigation\Admin * @license OMS License 1.0 @@ -29,20 +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( - 'nav' - ); - - $dbPool->get()->con->prepare($query->toSql())->execute(); - } }