summaryrefslogtreecommitdiffstats
path: root/extensions/EditComments
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/EditComments')
-rw-r--r--extensions/EditComments/lib/WebService.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/EditComments/lib/WebService.pm b/extensions/EditComments/lib/WebService.pm
index 9213f0407..2621e5f4a 100644
--- a/extensions/EditComments/lib/WebService.pm
+++ b/extensions/EditComments/lib/WebService.pm
@@ -16,6 +16,10 @@ use Bugzilla::Error;
use Bugzilla::Util qw(trim);
use Bugzilla::WebService::Util qw(validate);
+use constant PUBLIC_METHODS => qw(
+ comments
+);
+
sub comments {
my ($self, $params) = validate(@_, 'comment_ids');
my $dbh = Bugzilla->switch_to_shadow_db();