Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
DEV: remove next condition
Dieser Commit ist enthalten in:
Ursprung
1d2f75951f
Commit
779912332a
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
|
@ -238,7 +238,6 @@ after_initialize do
|
||||||
DiscourseEvent.trigger(:custom_wizard_ready)
|
DiscourseEvent.trigger(:custom_wizard_ready)
|
||||||
|
|
||||||
on(:before_create_topic) do |topic_params, user|
|
on(:before_create_topic) do |topic_params, user|
|
||||||
next if topic_params[:archetype] == 'message'
|
|
||||||
category = topic_params.category
|
category = topic_params.category
|
||||||
wizard_submission_id = topic_params.custom_fields['wizard_submission_id']
|
wizard_submission_id = topic_params.custom_fields['wizard_submission_id']
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren