Skip to content

Commit fd89ab7

Browse files
committed
Remove deprecated Flow#section & #subsection_slug
Most of the code relating to these methods was removed in 2012 in the following two commits: * 8bee67e * d397d13 The deprecation warnings were left in place in case any un-merged flows used either of the methods. I think it's safe to say that this danger has passed and it's now safe to removed these methods.
1 parent af8d7c8 commit fd89ab7

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)