mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
return is not needed here
This commit is contained in:
committed by
Aaron Patterson
parent
2f66b9a76c
commit
632120deb4
@@ -177,9 +177,9 @@ module ActiveRecord
|
||||
distinct = options[:distinct] || distinct
|
||||
|
||||
if @group_values.any?
|
||||
return execute_grouped_calculation(operation, column_name)
|
||||
execute_grouped_calculation(operation, column_name)
|
||||
else
|
||||
return execute_simple_calculation(operation, column_name, distinct)
|
||||
execute_simple_calculation(operation, column_name, distinct)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user