From 302f050806ef7185f5d1696f3aef140974244203 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 29 Dec 2015 21:52:47 +0100 Subject: [PATCH] Renamin navigation install files --- Admin/Install/{nav.install.json => Navigation.install.json} | 0 Admin/Install/Navigation.php | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename Admin/Install/{nav.install.json => Navigation.install.json} (100%) diff --git a/Admin/Install/nav.install.json b/Admin/Install/Navigation.install.json similarity index 100% rename from Admin/Install/nav.install.json rename to Admin/Install/Navigation.install.json diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index eba1cef..f47d1f7 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -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);