Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
a1fc7165
Commit
a1fc7165
authored
Jan 23, 2019
by
Jelle Besseling
Browse files
Merge branch 'fix/events-unpublish' into 'master'
Fix events unpublish See merge request
!1135
parents
c895cd49
5a184bdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/events/models.py
View file @
a1fc7165
...
...
@@ -384,9 +384,11 @@ class Event(models.Model, metaclass=ModelTranslateMeta):
if
(
self
.
registration_reminder
is
not
None
and
not
self
.
registration_reminder
.
sent
):
self
.
registration_reminder
.
delete
()
self
.
registration_reminder
=
None
if
(
self
.
start_reminder
is
not
None
and
not
self
.
start_reminder
.
sent
):
self
.
start_reminder
.
delete
()
self
.
start_reminder
=
None
super
().
save
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment