summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-12 07:46:58 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-12 07:46:58 +0000
commit74e2262efb366a37a70f64dc0faec2d63086b9e5 (patch)
tree6c729c11c116119d777e2ba00fb568f529079e78 /app/models
parentde76bb3a4a00146f8d53dbc25f2e90ca99910a22 (diff)
downloadredmine-74e2262efb366a37a70f64dc0faec2d63086b9e5.tar.gz
redmine-74e2262efb366a37a70f64dc0faec2d63086b9e5.zip
Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/query.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index d6d319443..0f8793122 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -1207,7 +1207,6 @@ class Query < ApplicationRecord
" SELECT customized_id FROM #{CustomValue.table_name}" +
" WHERE customized_type='#{target_class}' AND custom_field_id=#{chained_custom_field_id}" +
" AND #{sql_for_field(field, operator, value, CustomValue.table_name, 'value', true)}))"
-
end
def sql_for_custom_field_attribute(field, operator, value, custom_field_id, attribute)