mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:01:20 +08:00
DEV: Cleanup unused wizard illustrations (#23659)
These were defunct since #19487
This commit is contained in:
@ -10,7 +10,6 @@ class Wizard
|
||||
return @wizard unless SiteSetting.wizard_enabled? && @wizard.user.try(:staff?)
|
||||
|
||||
@wizard.append_step("introduction") do |step|
|
||||
step.banner = "welcome-illustration"
|
||||
step.emoji = "wave"
|
||||
step.description_vars = { base_path: Discourse.base_path }
|
||||
|
||||
@ -59,7 +58,6 @@ class Wizard
|
||||
end
|
||||
|
||||
@wizard.append_step("privacy") do |step|
|
||||
step.banner = "members-illustration"
|
||||
step.emoji = "hugs"
|
||||
step.add_field(
|
||||
id: "login_required",
|
||||
@ -109,7 +107,6 @@ class Wizard
|
||||
|
||||
@wizard.append_step("ready") do |step|
|
||||
# no form on this page, just info.
|
||||
step.banner = "finished-illustration"
|
||||
step.emoji = "rocket"
|
||||
end
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
class Wizard
|
||||
class Step
|
||||
attr_reader :id, :updater
|
||||
attr_accessor :index, :fields, :next, :previous, :banner, :disabled, :description_vars, :emoji
|
||||
attr_accessor :index, :fields, :next, :previous, :disabled, :description_vars, :emoji
|
||||
|
||||
def initialize(id)
|
||||
@id = id
|
||||
|
Reference in New Issue
Block a user