Skip to content
Snippets Groups Projects
Commit e761098b authored by Thomas Hackl's avatar Thomas Hackl
Browse files

Resolve "Globale Einstellung SHOW_RELEASE_NOTES wird nicht verwendet"

Closes #4835

Merge request studip/studip!3621
parent ee45f08d
No related branches found
No related tags found
No related merge requests found
<?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'");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment