mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-02-16 04:18:40 +00:00
Renamin navigation install files
This commit is contained in:
parent
97119141ba
commit
302f050806
|
|
@ -14,6 +14,7 @@
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
namespace Modules\Accounting\Admin\Install;
|
namespace Modules\Accounting\Admin\Install;
|
||||||
|
use phpOMS\DataStorage\Database\Pool;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Navigation class.
|
* Navigation class.
|
||||||
|
|
@ -28,9 +29,9 @@ namespace Modules\Accounting\Admin\Install;
|
||||||
*/
|
*/
|
||||||
class Navigation
|
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 = '\\Modules\\Navigation\\Admin\\Installer';
|
||||||
$class::installExternal($dbPool, $navData);
|
$class::installExternal($dbPool, $navData);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user