mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-02-11 15:58:42 +00:00
fix after settings pullout
This commit is contained in:
parent
a4c7905448
commit
d557210a5c
|
|
@ -20,6 +20,7 @@ use Modules\Knowledgebase\Models\WikiCategoryMapper;
|
||||||
use phpOMS\DataStorage\Database\DatabasePool;
|
use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
use phpOMS\Module\InstallerAbstract;
|
use phpOMS\Module\InstallerAbstract;
|
||||||
use phpOMS\Module\ModuleInfo;
|
use phpOMS\Module\ModuleInfo;
|
||||||
|
use phpOMS\Config\SettingsInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Installer class.
|
* Installer class.
|
||||||
|
|
@ -34,9 +35,9 @@ final class Installer extends InstallerAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function install(DatabasePool $dbPool, ModuleInfo $info) : void
|
public static function install(DatabasePool $dbPool, ModuleInfo $info, SettingsInterface $cfgHandler) : void
|
||||||
{
|
{
|
||||||
parent::install($dbPool, $info);
|
parent::install($dbPool, $info, $cfgHandler);
|
||||||
|
|
||||||
$category = new WikiCategory();
|
$category = new WikiCategory();
|
||||||
$category->setName('Default');
|
$category->setName('Default');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user