X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fsbin%2Frt-shredder.in;h=c0655dbe1165b5d234e85c4448abb6d593c622cc;hb=84f2df8931fa02e63fb21f8f0bb87dd9577b8919;hp=946121c7536aed5efb2335dfc8821bf037e87121;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/sbin/rt-shredder.in b/rt/sbin/rt-shredder.in index 946121c75..c0655dbe1 100755 --- a/rt/sbin/rt-shredder.in +++ b/rt/sbin/rt-shredder.in @@ -3,7 +3,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -74,7 +74,7 @@ should wipeout. =head2 --sqldump -Outputs INSERT queiries 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 @@ -147,7 +147,7 @@ our %opt; parse_args(); RT::Shredder::Init( %opt ); -my $shredder = new RT::Shredder; +my $shredder = RT::Shredder->new; { my $plugin = eval { $shredder->AddDumpPlugin( Arguments => { @@ -257,7 +257,7 @@ sub process_plugins 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";