mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-01-11 18:48:41 +00:00
Fix never cleaning up old search install
This commit is contained in:
parent
13a85aa4da
commit
ceb4d1cdb9
|
|
@ -37,10 +37,11 @@ class Installer extends InstallerAbstract
|
|||
*/
|
||||
public static function install(DatabasePool $dbPool, InfoManager $info) : void
|
||||
{
|
||||
if (\file_exists(__DIR__ . '/../Search.php')) {
|
||||
\unlink(__DIR__ . '/../Search.php');
|
||||
if (\file_exists(__DIR__ . '/../SearchCommands.php')) {
|
||||
\unlink(__DIR__ . '/../SearchCommands.php');
|
||||
}
|
||||
|
||||
\file_put_contents(__DIR__ . '/../SearchCommands.php', '<?php return [];');
|
||||
parent::install($dbPool, $info);
|
||||
}
|
||||
|
||||
|
|
|
|||
3016
SearchCommands.php
3016
SearchCommands.php
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user