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
b356ebd1
Commit
b356ebd1
authored
Aug 10, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Back out bug 300231, because it triggers bug 303413.
parent
3e7b43ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
37 deletions
+0
-37
User.pm
Bugzilla/User.pm
+0
-37
No files found.
Bugzilla/User.pm
View file @
b356ebd1
...
...
@@ -41,7 +41,6 @@ use Bugzilla::Error;
use
Bugzilla::
Util
;
use
Bugzilla::
Constants
;
use
Bugzilla::User::
Setting
;
use
Bugzilla::
Product
;
use
base
qw(Exporter)
;
@
Bugzilla::User::
EXPORT
=
qw(insert_new_user is_available_username
...
...
@@ -61,8 +60,6 @@ use constant USER_MATCH_SUCCESS => 1;
use
constant
MATCH_SKIP_CONFIRM
=>
1
;
use
constant
GET_PRODUCTS_BY_ID
=>
1
;
################################################################################
# Functions
################################################################################
...
...
@@ -445,27 +442,6 @@ sub get_selectable_products {
return
values
(
%
list
);
}
sub
get_selectable_classifications
($)
{
my
(
$self
)
=
@_
;
if
(
defined
$self
->
{
selectable_classifications
})
{
return
$self
->
{
selectable_classifications
};
}
my
$products
=
$self
->
get_selectable_products
(
GET_PRODUCTS_BY_ID
);
my
$selectable_classifications
;
foreach
my
$prod_id
(
keys
%
$products
)
{
my
$product
=
new
Bugzilla::
Product
(
$prod_id
);
$selectable_classifications
->
{
$product
->
classification_id
}
=
$product
->
classification
;
}
$self
->
{
selectable_classifications
}
=
[
values
%
$selectable_classifications
];
}
# visible_groups_inherited returns a reference to a list of all the groups
# whose members are visible to this user.
sub
visible_groups_inherited
{
...
...
@@ -1294,9 +1270,6 @@ Bugzilla::User - Object for a Bugzilla user
my $user = new Bugzilla::User($id);
my @get_selectable_classifications =
$user->get_selectable_classifications;
# Class Functions
$password = insert_new_user($username, $realname, $password, $disabledtext);
...
...
@@ -1486,16 +1459,6 @@ the user can select bugs. If the $by_id parameter is true, it returns
a hash where the keys are the product ids and the values are the
product names.
=item C<get_selectable_classifications>
Description: Returns the classifications that a user, according his
groups ownership, can select to entering, serch, view or
edit a bug.
Params: none.
Returns: Bugzilla::Classification objects values.
=item C<get_userlist>
Returns a reference to an array of users. The array is populated with hashrefs
...
...
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