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. *