1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-22 16:31:12 +00:00

remove extra blank lines from lib/redmine/sudo_mode.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20070 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-09-24 16:06:24 +00:00
parent 7251d571c5
commit fd30592dd3

View File

@ -8,7 +8,6 @@ module Redmine
class SudoRequired < StandardError
end
class Form
include ActiveModel::Validations
@ -26,7 +25,6 @@ module Redmine
end
end
module Helper
# Represents params data from hash as hidden fields
#
@ -42,7 +40,6 @@ module Redmine
end
end
module Controller
extend ActiveSupport::Concern
@ -173,7 +170,6 @@ module Redmine
end
end
# true if the sudo mode state was queried during this request
def self.was_used?
!!RequestStore.store[:sudo_mode_was_used]