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
739d3a20
Commit
739d3a20
authored
Feb 13, 2011
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 633422: Fix the documentation for User.get's include_disabled parameter
and make User.get check that its required parameters are passed. r=LpSolit, a=mkanat
parent
823c0e4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
User.pm
Bugzilla/WebService/User.pm
+9
-2
No files found.
Bugzilla/WebService/User.pm
View file @
739d3a20
...
...
@@ -138,6 +138,11 @@ sub create {
sub
get
{
my
(
$self
,
$params
)
=
validate
(
@_
,
'names'
,
'ids'
);
defined
(
$params
->
{
names
})
||
defined
(
$params
->
{
ids
})
||
defined
(
$params
->
{
match
})
||
ThrowCodeError
(
'params_required'
,
{
function
=>
'User.get'
,
params
=>
[
'ids'
,
'names'
,
'match'
]
});
my
@user_objects
;
@user_objects
=
map
{
Bugzilla::
User
->
check
(
$_
)
}
@
{
$params
->
{
names
}
}
if
$params
->
{
names
};
...
...
@@ -535,8 +540,10 @@ in I<any> of the groups specified.
=item C<include_disabled> (boolean)
By default, when using the C<match> parameter, disabled users are excluded
from the returned results. Setting C<include_disabled> to C<true> will include
any users that are set to disabled in the returned results.
from the returned results unless their full username is identical to the
match string. Setting C<include_disabled> to C<true> will include disabled
users in the returned results even if their username doesn't fully match
the input string.
=back
...
...
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