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
a037f115
Commit
a037f115
authored
Jan 13, 2005
by
travis%sedsystems.ca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 277571 : checksetup should not always output a message about checking for flags
Patch by Max K-A <mkanat@kerio.com> r=vladd a=justdave
parent
16101ff8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
checksetup.pl
checksetup.pl
+1
-4
No files found.
checksetup.pl
View file @
a037f115
...
...
@@ -3886,8 +3886,6 @@ if (TableExists("attachstatuses") && TableExists("attachstatusdefs")) {
# 2004-12-13 Nick.Barnes@pobox.com bug 262268
# Check flag type names for spaces and commas, and rename them.
if
(
TableExists
(
"flagtypes"
))
{
print
"Checking flag type names for spaces and commas...\n"
unless
$silent
;
# Get names and IDs which are broken.
$sth
=
$dbh
->
prepare
(
"SELECT name, id FROM flagtypes"
);
$sth
->
execute
();
...
...
@@ -3902,6 +3900,7 @@ if (TableExists("flagtypes")) {
}
}
if
(
@badflagnames
)
{
print
"Removing spaces and commas from flag names...\n"
;
my
(
$flagname
,
$tryflagname
);
my
$sth
=
$dbh
->
prepare
(
"UPDATE flagtypes SET name = ? WHERE id = ?"
);
foreach
$flagname
(
@badflagnames
)
{
...
...
@@ -3926,8 +3925,6 @@ if (TableExists("flagtypes")) {
delete
$flagtypes
{
$flagname
};
}
print
"... done.\n"
;
}
else
{
print
"... all flag type names are good.\n"
unless
$silent
;
}
}
...
...
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