Fix the build.
This commit is contained in:
parent
bc3e43b496
commit
29a9e0c4d2
|
@ -998,6 +998,7 @@ SQL
|
||||||
options = { status_type: status_type }
|
options = { status_type: status_type }
|
||||||
options.merge!(user: by_user) unless TopicTimer.public_types[status_type]
|
options.merge!(user: by_user) unless TopicTimer.public_types[status_type]
|
||||||
self.topic_timers.find_by(options)&.trash!(by_user)
|
self.topic_timers.find_by(options)&.trash!(by_user)
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
# Valid arguments for the time:
|
# Valid arguments for the time:
|
||||||
|
|
Loading…
Reference in New Issue