mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 11:16:39 +08:00
DEV: Remove double query in Group#remove_review_group
.
Probably a mistake during commit.
This commit is contained in:
parent
78b5ab746c
commit
2fbd4eb11f
@ -57,7 +57,6 @@ class Group < ActiveRecord::Base
|
||||
|
||||
def remove_review_groups
|
||||
Category.where(review_group_id: self.id).update_all(review_group_id: nil)
|
||||
Category.where(review_group_id: self.id).update_all(review_group_id: nil)
|
||||
end
|
||||
|
||||
validate :name_format_validator
|
||||
|
Loading…
x
Reference in New Issue
Block a user