summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml5
-rw-r--r--app/models/wiki_page.rb1
2 files changed, 0 insertions, 6 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index b8620be7f..a2c3c5018 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -650,11 +650,6 @@ Lint/UnifiedInteger:
- '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:
Enabled: false
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb
index 29bc0e5b7..50fbe83c8 100644
--- a/app/models/wiki_page.rb
+++ b/app/models/wiki_page.rb
@@ -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