summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Comment.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Comment.pm')
-rw-r--r--Bugzilla/Comment.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Comment.pm b/Bugzilla/Comment.pm
index 14f28cbe5..23c1d3f85 100644
--- a/Bugzilla/Comment.pm
+++ b/Bugzilla/Comment.pm
@@ -80,8 +80,8 @@ use constant VALIDATOR_DEPENDENCIES => {
with 'Bugzilla::Elastic::Role::ChildObject';
-use constant ES_TYPE => 'comment';
-use constant ES_PARENT_TYPE => 'bug';
+use constant ES_TYPE => 'comment';
+use constant ES_PARENT_CLASS => 'Bugzilla::Bug';
sub ES_OBJECTS_AT_ONCE { 50 }