mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-14 15:48:40 +00:00
Dashboard fix
This commit is contained in:
parent
5648466054
commit
abd293c102
|
|
@ -31,14 +31,14 @@ class Comments
|
||||||
/**
|
/**
|
||||||
* Install comment relation
|
* Install comment relation
|
||||||
*
|
*
|
||||||
* @param string $path Module path
|
|
||||||
* @param ApplicationAbstract $app Application
|
* @param ApplicationAbstract $app Application
|
||||||
|
* @param string $path Module path
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function install(string $path, ApplicationAbstract $app) : void
|
public static function install(ApplicationAbstract $app, string $path) : void
|
||||||
{
|
{
|
||||||
$builder = new Builder($app->dbPool->get('schema'));
|
$builder = new Builder($app->dbPool->get('schema'));
|
||||||
$builder->alterTable('news')
|
$builder->alterTable('news')
|
||||||
|
|
|
||||||
|
|
@ -29,14 +29,14 @@ class Dashboard
|
||||||
/**
|
/**
|
||||||
* Install dashboard providing
|
* Install dashboard providing
|
||||||
*
|
*
|
||||||
* @param string $path Module path
|
|
||||||
* @param ApplicationAbstract $app Application
|
* @param ApplicationAbstract $app Application
|
||||||
|
* @param string $path Module path
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function install(string $path, ApplicationAbstract $app) : void
|
public static function install(ApplicationAbstract $app, string $path) : void
|
||||||
{
|
{
|
||||||
\Modules\Dashboard\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Dashboard.install.json']);
|
\Modules\Dashboard\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Dashboard.install.json']);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,14 +29,14 @@ class Media
|
||||||
/**
|
/**
|
||||||
* Install media providing
|
* Install media providing
|
||||||
*
|
*
|
||||||
* @param string $path Module path
|
|
||||||
* @param ApplicationAbstract $app Application
|
* @param ApplicationAbstract $app Application
|
||||||
|
* @param string $path Module path
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function install(string $path, ApplicationAbstract $app) : void
|
public static function install(ApplicationAbstract $app, string $path) : void
|
||||||
{
|
{
|
||||||
\Modules\Media\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Media.install.json']);
|
\Modules\Media\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Media.install.json']);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user