Skip to content

Commit 251530e

Browse files
committed
Merge pull request #2088 from alphagov/remove-unused-flow-section-slug-and-subsection-slug
Remove deprecated Flow#section & #subsection_slug
2 parents af8d7c8 + fd89ab7 commit 251530e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/smart_answer/flow.rb

-10
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,6 @@ def status(s = nil)
4848
@status
4949
end
5050

51-
def section_slug(s = nil)
52-
ActiveSupport::Deprecation.warn("Sections are no longer handled within smartanswers.", caller(1))
53-
nil
54-
end
55-
56-
def subsection_slug(s = nil)
57-
ActiveSupport::Deprecation.warn("Sections are no longer handled within smartanswers.", caller(1))
58-
nil
59-
end
60-
6151
def multiple_choice(name, options = {}, &block)
6252
add_node Question::MultipleChoice.new(self, name, options, &block)
6353
end

0 commit comments

Comments
 (0)