Skip to content
Snippets Groups Projects
Commit 49caeeab authored by Michaela Brückner's avatar Michaela Brückner :unicorn: Committed by Jan-Hendrik Willms
Browse files

migration to update text, fixes #3130

Closes #3130

Merge request studip/studip!2133
parent bfeedd9e
No related branches found
No related tags found
No related merge requests found
<?php
class UpdateAccessibilityReceiverInfo extends Migration
{
public function description()
{
return 'Update info text for ACCESSIBILITY_RECEIVER_EMAIL to clarify how to use it.';
}
protected function up()
{
$db = DBManager::get();
$db->exec(
"UPDATE `config`
SET `description` = 'Die E-Mail-Adressen der Personen, die beim Melden einer Barriere benachrichtigt werden sollen.
Beispiel: [\"mailadresse1@server.de\",\"mailadresse2@server.de\"]'
WHERE `field` = 'ACCESSIBILITY_RECEIVER_EMAIL'
"
);
}
protected function down()
{
$db = DBManager::get();
$db->exec(
"UPDATE `config`
SET `description` = 'Die E-Mail-Adressen der Personen, die beim Melden einer Barriere benachrichtigt werden sollen.'
WHERE `field` = 'ACCESSIBILITY_RECEIVER_EMAIL'
"
);
}
}
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