From 24662f681c308f5b81fdcd7c01f8fd0bd5336580 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 8b5e679..dca0f80 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -20,6 +20,7 @@ use phpOMS\Module\ModuleInfo; use phpOMS\System\File\PathException; use phpOMS\System\File\PermissionException; use phpOMS\Utils\Parser\Php\ArrayParser; +use phpOMS\Config\SettingsInterface; /** * Installer class. @@ -34,14 +35,14 @@ 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 { if (\file_exists(__DIR__ . '/../SearchCommands.php')) { \unlink(__DIR__ . '/../SearchCommands.php'); } \file_put_contents(__DIR__ . '/../SearchCommands.php', '