]> 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:39 +0000 (16:47 -0800)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 11 Feb 2011 00:47:39 +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 189c984c3e860dcb422b230ec9d465fadbbd50f8..0dd4124d193af443e61d8c1a92ffd62baf48bcec 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.