diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c8766dba..68fdcc3c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.5.10 (Unreleased) +---------------------- +- Fix #470: Fix obsolete notifications + 1.5.9 (March 14, 2024) ---------------------- - Fix #443: Fix email subject on invite/add users diff --git a/migrations/m240319_152508_fix_notification.php b/migrations/m240319_152508_fix_notification.php new file mode 100644 index 00000000..07456a56 --- /dev/null +++ b/migrations/m240319_152508_fix_notification.php @@ -0,0 +1,34 @@ + 'humhub\\modules\\calendar\\notifications\\ParticipantAdded'], + ['IN', 'class', [ + 'humhub\\modules\\calendar\\notifications\\Invited', + 'humhub\\modules\\calendar\\notifications\\ForceAdd' + ]] + ); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + echo "m240319_152508_fix_notification cannot be reverted.\n"; + + return false; + } +} diff --git a/module.json b/module.json index 829aaa75..1e36b6b8 100644 --- a/module.json +++ b/module.json @@ -3,7 +3,7 @@ "name": "Calendar", "description": "Create one-time or recurring events, invite and manage attendees, and keep track of all your events with the Calendar module.", "keywords": ["calendar"], - "version": "1.5.9", + "version": "1.5.10", "humhub": { "minVersion": "1.14" },