summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Bug.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/WebService/Bug.pm')
-rw-r--r--Bugzilla/WebService/Bug.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index aea30cedb..006fa0fee 100644
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -282,17 +282,10 @@ sub search {
sub create {
my ($self, $params) = @_;
-
Bugzilla->login(LOGIN_REQUIRED);
-
$params = _map_fields($params);
- # WebService users can't set the creation date of a bug.
- delete $params->{'creation_ts'};
-
my $bug = Bugzilla::Bug->create($params);
-
Bugzilla::BugMail::Send($bug->bug_id, { changer => $bug->reporter->login });
-
return { id => $self->type('int', $bug->bug_id) };
}