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:
parent
7251d571c5
commit
fd30592dd3
@ -8,7 +8,6 @@ module Redmine
|
|||||||
class SudoRequired < StandardError
|
class SudoRequired < StandardError
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
class Form
|
class Form
|
||||||
include ActiveModel::Validations
|
include ActiveModel::Validations
|
||||||
|
|
||||||
@ -26,7 +25,6 @@ module Redmine
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
module Helper
|
module Helper
|
||||||
# Represents params data from hash as hidden fields
|
# Represents params data from hash as hidden fields
|
||||||
#
|
#
|
||||||
@ -42,7 +40,6 @@ module Redmine
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
module Controller
|
module Controller
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
@ -173,7 +170,6 @@ module Redmine
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# true if the sudo mode state was queried during this request
|
# true if the sudo mode state was queried during this request
|
||||||
def self.was_used?
|
def self.was_used?
|
||||||
!!RequestStore.store[:sudo_mode_was_used]
|
!!RequestStore.store[:sudo_mode_was_used]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user