projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.0.21 (RT#13852)
[freeside.git]
/
rt
/
sbin
/
rt-shredder.in
diff --git
a/rt/sbin/rt-shredder.in
b/rt/sbin/rt-shredder.in
index
c52116f
..
a903728
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
2
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
4
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
@@
-135,7
+135,10
@@
BEGIN {
}
}
-use RT::Shredder ();
+use RT -init;
+
+require RT::Shredder;
+
use Getopt::Long qw(GetOptions);
use File::Spec ();
use Getopt::Long qw(GetOptions);
use File::Spec ();
@@
-146,7
+149,6
@@
our %plugins = RT::Shredder::Plugin->List;
our %opt;
parse_args();
our %opt;
parse_args();
-RT::Shredder::Init( %opt );
my $shredder = RT::Shredder->new;
{
my $shredder = RT::Shredder->new;
{