projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed jira to handle branch names that are just numbers
[clearscm.git]
/
maps
/
bin
/
mapsscrub.pl
diff --git
a/maps/bin/mapsscrub.pl
b/maps/bin/mapsscrub.pl
index
8ff4c51
..
abf1d31
100755
(executable)
--- a/
maps/bin/mapsscrub.pl
+++ b/
maps/bin/mapsscrub.pl
@@
-80,7
+80,9
@@
sub CleanUp($) {
$total{'Log entries removed'} = CleanLog $timestamp, $opts{dryrun};
for (qw(white black null)) {
$total{'Log entries removed'} = CleanLog $timestamp, $opts{dryrun};
for (qw(white black null)) {
- $total{"${_}list entries removed"} = CleanList(
+ my $listname = ucfirst($_) . 'list entries removed';
+
+ $total{$listname} = CleanList(
userid => $userid,
type => $_,
log => $log,
userid => $userid,
type => $_,
log => $log,
@@
-119,7
+121,7
@@
while (my $rec = GetUser) {
} # while
# Now optimize the database
} # while
# Now optimize the database
-if ($opts{optimize
d
}) {
+if ($opts{optimize}) {
OptimizeDB;
$log->msg('Database optimized');
OptimizeDB;
$log->msg('Database optimized');