mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Code cleanup: RuboCop: Fix Lint/UnneededRequireStatement in app/models/wiki_page.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18392 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
70ead0d1c7
commit
0553e8375c
@ -649,11 +649,6 @@ Lint/UnifiedInteger:
|
||||
Exclude:
|
||||
- 'test/unit/query_test.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
Lint/UnneededRequireStatement:
|
||||
Exclude:
|
||||
- 'app/models/wiki_page.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
||||
Lint/UnusedBlockArgument:
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
require 'diff'
|
||||
require 'enumerator'
|
||||
|
||||
class WikiPage < ActiveRecord::Base
|
||||
include Redmine::SafeAttributes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user