THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

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
pull/107/merge
Go MAEDA 4 weeks ago
parent
commit
0553e8375c
2 changed files with 0 additions and 6 deletions
  1. 0
    5
      .rubocop_todo.yml
  2. 0
    1
      app/models/wiki_page.rb

+ 0
- 5
.rubocop_todo.yml View File

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

+ 0
- 1
app/models/wiki_page.rb View File

@@ -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…
Cancel
Save