Skip to content
Snippets Groups Projects
Commit 40f628c1 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fixed migration of calendar permissions, fixes #3840

Closes #3840

Merge request studip/studip!2709
parent 7adf8a42
No related branches found
No related tags found
No related merge requests found
...@@ -130,7 +130,7 @@ class AlterCalendarTables extends Migration ...@@ -130,7 +130,7 @@ class AlterCalendarTables extends Migration
IF(`permission` = '4', 'WRITE', IF(`permission` = '2', 'READ', '')) AS calendar_permissions, IF(`permission` = '4', 'WRITE', IF(`permission` = '2', 'READ', '')) AS calendar_permissions,
`mkdate`, `chdate` `mkdate`, `chdate`
FROM `calendar_user` FROM `calendar_user`
ON DUPLICATE KEY UPDATE `calendar_permissions` = calendar_permissions" ON DUPLICATE KEY UPDATE `calendar_permissions` = VALUES(calendar_permissions)"
); );
$db->exec("DROP TABLE `calendar_user`"); $db->exec("DROP TABLE `calendar_user`");
......
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