]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix the POD of Bug.add_attachment to reflect that it now automatically
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 11 Feb 2011 00:47:06 +0000 (16:47 -0800)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 11 Feb 2011 00:47:06 +0000 (16:47 -0800)
picks the content_type of text/plain when you set is_patch to true.

https://bugzilla.mozilla.org/show_bug.cgi?id=633041

Bugzilla/WebService/Bug.pm

index 8bec9630464820376244908bb6e8f0200ab51ac3..0539e411980a9574fb5bee96f38ec342a4db1a89 100644 (file)
@@ -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.