From 6aa93d3a3027b122ddb1eae994e02250790a611a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 4 Feb 2018 20:18:55 +0100 Subject: [PATCH] Fix nav install bug --- Admin/Installer.php | 5 ----- Controller.php | 16 ++++++++-------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/Admin/Installer.php b/Admin/Installer.php index 35881fb..85a8d06 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -36,10 +36,5 @@ class Installer extends InstallerAbstract public static function install(string $path, DatabasePool $dbPool, InfoManager $info) { parent::install(__DIR__ . '/..', $dbPool, $info); - - switch ($dbPool->get()->getType()) { - case DatabaseType::MYSQL: - break; - } } } diff --git a/Controller.php b/Controller.php index 42413ad..9f3c30c 100644 --- a/Controller.php +++ b/Controller.php @@ -46,6 +46,14 @@ class Controller extends ModuleAbstract implements WebInterface */ /* public */ const MODULE_VERSION = '1.0.0'; + /** + * Module name. + * + * @var string + * @since 1.0.0 + */ + /* public */ const MODULE_NAME = 'MyPrivate'; + /** * Module id. * @@ -73,14 +81,6 @@ class Controller extends ModuleAbstract implements WebInterface public static $css = [ ]; - /** - * Module name. - * - * @var string - * @since 1.0.0 - */ - /* public */ const MODULE_NAME = 'MyPrivate'; - /** * Localization files. *