浏览代码

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
tags/4.2.0
Toshi MARUYAMA 3 年前
父节点
当前提交
fd30592dd3
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0
    4
      lib/redmine/sudo_mode.rb

+ 0
- 4
lib/redmine/sudo_mode.rb 查看文件

@@ -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]

正在加载...
取消
保存