projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
rt
/
sbin
/
rt-shredder.in
diff --git
a/rt/sbin/rt-shredder.in
b/rt/sbin/rt-shredder.in
index
946121c
..
c0655db
100755
(executable)
--- a/
rt/sbin/rt-shredder.in
+++ b/
rt/sbin/rt-shredder.in
@@
-3,7
+3,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
1
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-74,7
+74,7
@@
should wipeout.
=head2 --sqldump <filename>
=head2 --sqldump <filename>
-Outputs INSERT que
i
ries into file. This dump can be used to restore data
+Outputs INSERT queries into file. This dump can be used to restore data
after wiping out.
By default creates files
after wiping out.
By default creates files
@@
-147,7
+147,7
@@
our %opt;
parse_args();
RT::Shredder::Init( %opt );
parse_args();
RT::Shredder::Init( %opt );
-my $shredder =
new RT::Shredder
;
+my $shredder =
RT::Shredder->new
;
{
my $plugin = eval { $shredder->AddDumpPlugin( Arguments => {
{
my $plugin = eval { $shredder->AddDumpPlugin( Arguments => {
@@
-257,7
+257,7
@@
sub process_plugins
my @res;
foreach my $str( @{ $opt{'plugin'} } ) {
my @res;
foreach my $str( @{ $opt{'plugin'} } ) {
- my $plugin =
new RT::Shredder::Plugin
;
+ my $plugin =
RT::Shredder::Plugin->new
;
my( $status, $msg ) = $plugin->LoadByString( $str );
unless( $status ) {
print STDERR "Couldn't load plugin\n";
my( $status, $msg ) = $plugin->LoadByString( $str );
unless( $status ) {
print STDERR "Couldn't load plugin\n";