mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-01-11 18:48:41 +00:00
always use and many other todo implementations
This commit is contained in:
parent
594e0ae031
commit
20197ea1cd
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user