Uncomment changes
This commit is contained in:
parent
584ec9ee5f
commit
0a12190953
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue