diff --git a/plugin.rb b/plugin.rb index abaffdd..62962c1 100644 --- a/plugin.rb +++ b/plugin.rb @@ -140,7 +140,7 @@ SQL post_number: post.post_number ) - notification.destroy if notification + notification.destroy! if notification DiscourseEvent.trigger(:unaccepted_solution, post) end