diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2024-11-06 15:47:46 +0000 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2024-11-06 15:47:46 +0000 |
| commit | e761098b3473a640a32b989036a0bbafd2338510 (patch) | |
| tree | 388e63b4dc88e044c5f23e07b854e8a9ee025869 /db | |
| parent | ee45f08d0e79f9632f3e4a2b3ea8ff0062197da3 (diff) | |
Resolve "Globale Einstellung SHOW_RELEASE_NOTES wird nicht verwendet"
Closes #4835
Merge request studip/studip!3621
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrations/6.0.30_remove_obsolete_release_notes_config.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/db/migrations/6.0.30_remove_obsolete_release_notes_config.php b/db/migrations/6.0.30_remove_obsolete_release_notes_config.php new file mode 100644 index 0000000..caf6d03 --- /dev/null +++ b/db/migrations/6.0.30_remove_obsolete_release_notes_config.php @@ -0,0 +1,18 @@ +<?php + +final class RemoveObsoleteReleaseNotesConfig extends Migration +{ + public function description() + { + return 'removes the obsolete global config entry SHOW_RELEASE_NOTES'; + } + + public function up() + { + DBManager::get()->exec("DELETE `config`, `config_values` + FROM `config` + LEFT JOIN `config_values` USING (`field`) + WHERE `field` = 'SHOW_RELEASE_NOTES'"); + } + +} |
