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
5ba4b1af
Commit
5ba4b1af
authored
Oct 28, 2010
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 607966: Use of qw(...) as parentheses is deprecated since Perl 5.13.5
r=gerv a=LpSolit
parent
a6041007
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
12 deletions
+10
-12
Bug.pm
Bugzilla/Bug.pm
+1
-1
CGI.pm
Bugzilla/CGI.pm
+1
-3
Search.pm
Bugzilla/Search.pm
+1
-1
Bug.pm
Bugzilla/WebService/Bug.pm
+1
-1
chart.cgi
chart.cgi
+1
-1
editflagtypes.cgi
editflagtypes.cgi
+1
-1
Search.pm
xt/lib/Bugzilla/Test/Search.pm
+4
-4
No files found.
Bugzilla/Bug.pm
View file @
5ba4b1af
...
...
@@ -1481,7 +1481,7 @@ sub _check_dependencies {
my
%
deps_in
=
(
dependson
=>
$depends_on
||
''
,
blocked
=>
$blocks
||
''
);
foreach
my
$type
qw(dependson blocked
)
{
foreach
my
$type
(
qw(dependson blocked)
)
{
my
@bug_ids
=
ref
(
$deps_in
{
$type
})
?
@
{
$deps_in
{
$type
}}
:
split
(
/[\s,]+/
,
$deps_in
{
$type
});
...
...
Bugzilla/CGI.pm
View file @
5ba4b1af
...
...
@@ -159,9 +159,7 @@ sub clean_search_url {
foreach
my
$num
(
1
,
2
,
3
)
{
# If there's no value in the email field, delete the related fields.
if
(
!
$self
->
param
(
"email$num"
))
{
foreach
my
$field
qw(type assigned_to reporter qa_contact
cc longdesc)
{
foreach
my
$field
(
qw(type assigned_to reporter qa_contact cc longdesc)
)
{
$self
->
delete
(
"email$field$num"
);
}
}
...
...
Bugzilla/Search.pm
View file @
5ba4b1af
...
...
@@ -1393,7 +1393,7 @@ sub _special_parse_email {
$type
=
"anyexact"
if
$type
eq
"exact"
;
my
@or_charts
;
foreach
my
$field
qw(assigned_to reporter cc qa_contact
)
{
foreach
my
$field
(
qw(assigned_to reporter cc qa_contact)
)
{
if
(
$params
->
{
"email$field$id"
})
{
push
(
@or_charts
,
$field
,
$type
,
$email
);
}
...
...
Bugzilla/WebService/Bug.pm
View file @
5ba4b1af
...
...
@@ -931,7 +931,7 @@ sub _attachment_to_hash {
# creator/attacher require an extra lookup, so we only send them if
# the filter wants them.
foreach
my
$field
qw(creator attacher
)
{
foreach
my
$field
(
qw(creator attacher)
)
{
if
(
filter_wants
$filters
,
$field
)
{
$item
->
{
$field
}
=
$self
->
type
(
'string'
,
$attach
->
attacher
->
login
);
}
...
...
chart.cgi
View file @
5ba4b1af
...
...
@@ -200,7 +200,7 @@ elsif ($action eq "delete") {
$series
->
remove_from_db
();
# Remove (sub)categories which no longer have any series.
foreach
my
$cat
qw(category subcategory
)
{
foreach
my
$cat
(
qw(category subcategory)
)
{
my
$is_used
=
$dbh
->
selectrow_array
(
"SELECT COUNT(*) FROM series WHERE $cat = ?"
,
undef
,
$series
->
{
"${cat}_id"
});
if
(
!
$is_used
)
{
...
...
editflagtypes.cgi
View file @
5ba4b1af
...
...
@@ -112,7 +112,7 @@ if (my ($category_action) = grep { $_ =~ /^categoryAction-(?:\w+)$/ } $cgi->para
my
$type
=
{};
$type
->
{
$_
}
=
$cgi
->
param
(
$_
)
foreach
$cgi
->
param
();
# Make sure boolean fields are defined, else they fall back to 1.
foreach
my
$boolean
qw(is_active is_requestable is_requesteeble is_multiplicable
)
{
foreach
my
$boolean
(
qw(is_active is_requestable is_requesteeble is_multiplicable)
)
{
$type
->
{
$boolean
}
||=
0
;
}
...
...
xt/lib/Bugzilla/Test/Search.pm
View file @
5ba4b1af
...
...
@@ -380,7 +380,7 @@ sub _create_field_values {
$values
{
'keywords'
}
=
create_keyword
(
$number
)
->
name
;
foreach
my
$field
qw(assigned_to qa_contact reporter cc
)
{
foreach
my
$field
(
qw(assigned_to qa_contact reporter cc)
)
{
$values
{
$field
}
=
create_user
(
"$number-$field"
)
->
login
;
}
...
...
@@ -504,7 +504,7 @@ sub _create_flags {
my
$flagtypes
=
_create_flagtypes
(
$number
);
my
%
flags
;
foreach
my
$type
qw(a b
)
{
foreach
my
$type
(
qw(a b)
)
{
$flags
{
$type
}
=
_get_flag_values
(
@_
,
$flagtypes
->
{
$type
});
}
return
\%
flags
;
...
...
@@ -615,9 +615,9 @@ sub _create_one_bug {
# These are necessary for the changedfrom tests.
my
$extra_values
=
$self
->
_extra_bug_create_values
->
{
$number
};
foreach
my
$field
qw(comments remaining_time percentage_complete
foreach
my
$field
(
qw(comments remaining_time percentage_complete
keyword_objects everconfirmed dependson blocked
groups_in classification)
groups_in classification)
)
{
$extra_values
->
{
$field
}
=
$bug
->
$field
;
}
...
...
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