always use and many other todo implementations

This commit is contained in:
Dennis Eichhorn 2022-03-17 22:39:52 +01:00
parent 594e0ae031
commit 20197ea1cd

View File

@ -44,14 +44,14 @@ final class Installer extends InstallerAbstract
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public static function install(DatabasePool $dbPool, ModuleInfo $info, SettingsInterface $cfgHandler) : void public static function install(ApplicationAbstract $app, ModuleInfo $info, SettingsInterface $cfgHandler) : void
{ {
if (\file_exists(__DIR__ . '/../SearchCommands.php')) { if (\file_exists(__DIR__ . '/../SearchCommands.php')) {
\unlink(__DIR__ . '/../SearchCommands.php'); \unlink(__DIR__ . '/../SearchCommands.php');
} }
\file_put_contents(__DIR__ . '/../SearchCommands.php', '<?php return [];'); \file_put_contents(__DIR__ . '/../SearchCommands.php', '<?php return [];');
parent::install($dbPool, $info, $cfgHandler); parent::install($app, $info, $cfgHandler);
} }
/** /**