Commit a7b7b39d authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

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
parent cee67bdc
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment