Uncomment changes

This commit is contained in:
rngus2344 2024-08-23 12:55:58 +09:00
parent 584ec9ee5f
commit 0a12190953
No known key found for this signature in database
GPG Key ID: 4E5F7A35021FBFA6
1 changed files with 3 additions and 3 deletions

View File

@ -119,9 +119,9 @@ class WebHookEventType < ActiveRecord::Base
], ],
) )
end end
# unless defined?(SiteSetting.enable_category_experts) && SiteSetting.enable_category_experts unless defined?(SiteSetting.enable_category_experts) && SiteSetting.enable_category_experts
# ids_to_exclude.concat([TYPES[:category_expert_approved]]) ids_to_exclude.concat([TYPES[:category_expert_approved]])
# end end
self.where.not(id: ids_to_exclude) self.where.not(id: ids_to_exclude)
end end
end end