mimetype => 'content_type',
};
-######################################################
-# Add aliases here for old method name compatibility #
-######################################################
-
-BEGIN {
- # In 3.0, get was called get_bugs
- *get_bugs = \&get;
- # Before 3.4rc1, "history" was get_history.
- *get_history = \&history;
-}
-
###########
# Methods #
###########
Gets information about particular bugs in the database.
-Note: Can also be called as "get_bugs" for compatibilty with Bugzilla 3.0 API.
-
=item B<REST>
To get information about a particular bug using its ID or alias:
=over
-=item get_bugs
-
-=item get_history
-
=back
Call C<Bug.get> with the ID of the bug you want to know more of.
The call will return a C<Bugzilla::Bug> object.
-Note: You can also use "Bug.get_bugs" for compatibility with Bugzilla 3.0 API.
-
=cut
if ($bug_id) {