diff options
| author | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-02-08 13:12:32 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-02-08 13:12:32 +0000 |
| commit | 64ccc32e408b7c551d066159811062c82e40eba3 (patch) | |
| tree | 79f09c7b10365da725a6acd87aacbbf463093e76 /cli | |
| parent | 75774bd419c6050d2002a5afa9f1fe934aa5f173 (diff) | |
drop unused help system settings, fixes #655
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/Commands/HelpContent/Migrate.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cli/Commands/HelpContent/Migrate.php b/cli/Commands/HelpContent/Migrate.php index 8ab790a..00a620b 100644 --- a/cli/Commands/HelpContent/Migrate.php +++ b/cli/Commands/HelpContent/Migrate.php @@ -94,20 +94,6 @@ class Migrate extends Command } } - if (count($count)) { - if (!\Config::get()->getValue('HELP_CONTENT_CURRENT_VERSION')) { - \Config::get()->create('HELP_CONTENT_CURRENT_VERSION', [ - 'value' => $version, - 'is_default' => 0, - 'type' => 'string', - 'range' => 'global', - 'section' => 'global', - 'description' => _('Aktuelle Version der Helpbar-Einträge in Stud.IP'), - ]); - } else { - \Config::get()->store('HELP_CONTENT_CURRENT_VERSION', $version); - } - } $io->success('help content added for ' . count($count) . ' routes.'); return Command::SUCCESS; } |
