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

fixed migration of calendar permissions, fixes #3840

Closes #3840

Merge request studip/studip!2709


(cherry picked from commit 40f628c1)

b1b5c6b0 fixed migration of calendar permissions
parent 2a5cda32
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ class AlterCalendarTables extends Migration
IF(`permission` = '4', 'WRITE', IF(`permission` = '2', 'READ', '')) AS calendar_permissions,
`mkdate`, `chdate`
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`");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment