0004-Remove-require_dependency.patch

Mizuki ISHIKAWA, 2021-10-19 08:50

Download (2.06 KB)

View differences:

app/models/enumeration.rb
175 175
  end
176 176
end
177 177

  
178
# Force load the subclasses in development mode
179
require_dependency 'time_entry_activity'
180
require_dependency 'document_category'
181
require_dependency 'issue_priority'
app/models/group.rb
128 128
  end
129 129
end
130 130

  
131
require_dependency "group_builtin"
app/models/group_builtin.rb
57 57
  end
58 58
end
59 59

  
60
require_dependency "group_anonymous"
61
require_dependency "group_non_member"
app/models/principal.rb
218 218
  end
219 219
end
220 220

  
221
require_dependency "user"
222
require_dependency "group"
lib/redmine/twofa.rb
55 55

  
56 56
    def self.scan_builtin_schemes
57 57
      Dir[Rails.root.join('lib', 'redmine', 'twofa', '*.rb')].each do |file|
58
        require_dependency file
58
        require file
59 59
      end
60 60
    end
61 61
    private_class_method :scan_builtin_schemes
62
-