diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-02-11 01:47:39 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-02-11 01:47:39 +0100 |
commit | a7b7b39d07f0aaefa75f0dabed65a1d743981e92 (patch) | |
tree | 9a3832bebdd64d53eabbb36c2008ca00e62a5cc4 /Bugzilla | |
parent | cee67bdc0eff06b16f5d374be9cc6ca8961e11c4 (diff) | |
download | bugzilla-a7b7b39d07f0aaefa75f0dabed65a1d743981e92.tar.gz bugzilla-a7b7b39d07f0aaefa75f0dabed65a1d743981e92.tar.xz |
Fix the POD of Bug.add_attachment to reflect that it now automatically
picks the content_type of text/plain when you set is_patch to true.
https://bugzilla.mozilla.org/show_bug.cgi?id=633041
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 189c984c3..0dd4124d1 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -2402,9 +2402,8 @@ C<string> A comment to add along with this attachment. =item C<is_patch> C<boolean> True if Bugzilla should treat this attachment as a patch. -If you specify this, the C<content_type> should be C<text/plain>. -(Future versions of Bugzilla will force the C<content_type> setting -to C<text/plain> for patches and you will not have to specify it manually.) +If you specify this, you do not need to specify a C<content_type>. +The C<content_type of the attachment will be forced to C<text/plain>. Defaults to False if not specified. |