summaryrefslogtreecommitdiff
path: root/rt/sbin/rt-shredder.in
diff options
context:
space:
mode:
Diffstat (limited to 'rt/sbin/rt-shredder.in')
-rwxr-xr-xrt/sbin/rt-shredder.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/rt/sbin/rt-shredder.in b/rt/sbin/rt-shredder.in
index e7910e523..a903728ce 100755
--- a/rt/sbin/rt-shredder.in
+++ b/rt/sbin/rt-shredder.in
@@ -3,7 +3,7 @@
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@ -135,7 +135,10 @@ BEGIN {
}
-use RT::Shredder ();
+use RT -init;
+
+require RT::Shredder;
+
use Getopt::Long qw(GetOptions);
use File::Spec ();
@@ -146,7 +149,6 @@ our %plugins = RT::Shredder::Plugin->List;
our %opt;
parse_args();
-RT::Shredder::Init( %opt );
my $shredder = RT::Shredder->new;
{