FIX: also delete Category Cust Fld for wizrds with names of mult words
Dieser Commit ist enthalten in:
Ursprung
10d597c495
Commit
ec88af0cc0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -64,7 +64,7 @@ class CustomWizard::Template
|
||||||
ensure_wizard_upload_references!(wizard_id)
|
ensure_wizard_upload_references!(wizard_id)
|
||||||
PluginStore.remove(CustomWizard::PLUGIN_NAME, wizard.id)
|
PluginStore.remove(CustomWizard::PLUGIN_NAME, wizard.id)
|
||||||
clear_user_wizard_redirect(wizard_id, after_time: !!wizard.after_time)
|
clear_user_wizard_redirect(wizard_id, after_time: !!wizard.after_time)
|
||||||
related_custom_fields = CategoryCustomField.where(name: 'create_topic_wizard', value: wizard.name)
|
related_custom_fields = CategoryCustomField.where(name: 'create_topic_wizard', value: wizard.name.parameterize.underscore)
|
||||||
related_custom_fields.destroy_all
|
related_custom_fields.destroy_all
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren