Fix nav install bug

This commit is contained in:
Dennis Eichhorn 2018-02-04 20:18:55 +01:00
parent f2c70968d3
commit 6aa93d3a30
2 changed files with 8 additions and 13 deletions

View File

@ -36,10 +36,5 @@ class Installer extends InstallerAbstract
public static function install(string $path, DatabasePool $dbPool, InfoManager $info) public static function install(string $path, DatabasePool $dbPool, InfoManager $info)
{ {
parent::install(__DIR__ . '/..', $dbPool, $info); parent::install(__DIR__ . '/..', $dbPool, $info);
switch ($dbPool->get()->getType()) {
case DatabaseType::MYSQL:
break;
}
} }
} }

View File

@ -46,6 +46,14 @@ class Controller extends ModuleAbstract implements WebInterface
*/ */
/* public */ const MODULE_VERSION = '1.0.0'; /* public */ const MODULE_VERSION = '1.0.0';
/**
* Module name.
*
* @var string
* @since 1.0.0
*/
/* public */ const MODULE_NAME = 'MyPrivate';
/** /**
* Module id. * Module id.
* *
@ -73,14 +81,6 @@ class Controller extends ModuleAbstract implements WebInterface
public static $css = [ public static $css = [
]; ];
/**
* Module name.
*
* @var string
* @since 1.0.0
*/
/* public */ const MODULE_NAME = 'MyPrivate';
/** /**
* Localization files. * Localization files.
* *