Renamin navigation install files

This commit is contained in:
Dennis Eichhorn 2015-12-29 21:52:47 +01:00
parent 97119141ba
commit 302f050806
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@
* @link http://orange-management.com
*/
namespace Modules\Accounting\Admin\Install;
use phpOMS\DataStorage\Database\Pool;
/**
* Navigation class.
@ -28,9 +29,9 @@ namespace Modules\Accounting\Admin\Install;
*/
class Navigation
{
public static function install($dbPool)
public static function install(Pool $dbPool)
{
$navData = json_decode(file_get_contents(__DIR__ . '/nav.install.json'), true);
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);
$class = '\\Modules\\Navigation\\Admin\\Installer';
$class::installExternal($dbPool, $navData);