From d557210a5c36714e32dc65c8da253c94c4c09270 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 22 May 2020 21:44:09 +0200 Subject: [PATCH] fix after settings pullout --- Admin/Installer.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Admin/Installer.php b/Admin/Installer.php index f370b6b..f455d3f 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -20,6 +20,7 @@ use Modules\Knowledgebase\Models\WikiCategoryMapper; use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\InstallerAbstract; use phpOMS\Module\ModuleInfo; +use phpOMS\Config\SettingsInterface; /** * Installer class. @@ -34,9 +35,9 @@ final class Installer extends InstallerAbstract /** * {@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->setName('Default');