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
ecc6dfbc
Commit
ecc6dfbc
authored
Aug 10, 2012
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backout bug 679224
parent
a63ceb3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
43 deletions
+0
-43
User.pm
Bugzilla/WebService/User.pm
+0
-43
No files found.
Bugzilla/WebService/User.pm
View file @
ecc6dfbc
...
...
@@ -214,7 +214,6 @@ sub get {
groups
=>
$self
->
_filter_bless_groups
(
$_
->
groups
),
email_enabled
=>
$self
->
type
(
'boolean'
,
$_
->
email_enabled
),
login_denied_text
=>
$self
->
type
(
'string'
,
$_
->
disabledtext
),
saved_searches
=>
[
map
{
$self
->
_query_to_hash
(
$_
)
}
@
{
$_
->
queries
}],
}}
@$in_group
;
}
else
{
...
...
@@ -226,7 +225,6 @@ sub get {
email
=>
$self
->
type
(
'string'
,
$_
->
email
),
can_login
=>
$self
->
type
(
'boolean'
,
$_
->
is_enabled
?
1
:
0
),
groups
=>
$self
->
_filter_bless_groups
(
$_
->
groups
),
saved_searches
=>
[
map
{
$self
->
_query_to_hash
(
$_
)
}
@
{
$_
->
queries
}],
}}
@$in_group
;
}
...
...
@@ -349,17 +347,6 @@ sub _group_to_hash {
return
$item
;
}
sub
_query_to_hash
{
my
(
$self
,
$query
)
=
@_
;
my
$item
=
{
id
=>
$self
->
type
(
'int'
,
$query
->
id
),
name
=>
$self
->
type
(
'string'
,
$query
->
name
),
url
=>
$self
->
type
(
'string'
,
$query
->
url
),
};
return
$item
;
}
1
;
__END__
...
...
@@ -801,34 +788,6 @@ C<string> The description for the group
=back
=over
=item saved_searches
C<array> An array of hashes, each of which represents a user's saved search and has
the following keys:
=over
=item id
C<int> An integer id uniquely identifying the saved search.
=item name
C<string> The name of the saved search.
=item url
C<string> The CGI parameters for the saved search.
=back
B<Note>: The elements of the returned array (i.e. hashes) are ordered by the
name of each saved search.
=back
B<Note>: If you are not logged in to Bugzilla when you call this function, you
will only be returned the C<id>, C<name>, and C<real_name> items. If you are
logged in and not in editusers group, you will only be returned the C<id>, C<name>,
...
...
@@ -871,8 +830,6 @@ for C<match> has changed to only returning enabled accounts.
=item C<groups> Added in Bugzilla B<4.4>.
=item C<saved_searches> Added in Bugzilla B<4.4>.
=back
=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