Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
86af4d84
Commit
86af4d84
authored
Jul 07, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 502807: Rename Bug.get_history to Bug.history
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
parent
3fd0bd21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
Bug.pm
Bugzilla/WebService/Bug.pm
+9
-4
No files found.
Bugzilla/WebService/Bug.pm
View file @
86af4d84
...
...
@@ -65,7 +65,12 @@ use constant DATE_FIELDS => {
# Add aliases here for old method name compatibility #
######################################################
BEGIN
{
*
get_bugs
=
\&
get
}
BEGIN
{
# In 3.0, get was called get_bugs
*
get_bugs
=
\&
get
;
# Before 3.4rc1, "history" was get_history.
*
get_history
=
\&
history
;
}
###########
# Methods #
...
...
@@ -183,8 +188,8 @@ sub get {
# this is a function that gets bug activity for list of bug ids
# it can be called as the following:
# $call = $rpc->call( 'Bug.
get_
history', { ids => [1,2] });
sub
get_
history
{
# $call = $rpc->call( 'Bug.history', { ids => [1,2] });
sub
history
{
my
(
$self
,
$params
)
=
validate
(
@_
,
'ids'
);
my
$ids
=
$params
->
{
ids
};
...
...
@@ -1043,7 +1048,7 @@ in Bugzilla B<3.4>:
=back
=item C<
get_
history>
=item C<history>
B<UNSTABLE>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment