mirror of
https://github.com/redmine/redmine.git
synced 2026-07-01 01:07:24 +02: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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user