X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FTools%2FShredder%2Fautohandler;h=d25350c27074285b3cd1c3550fac20df61a3f0dc;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=9552064207dfd714d641ffe13c4c3b5b387f378e;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500;p=freeside.git diff --git a/rt/share/html/Admin/Tools/Shredder/autohandler b/rt/share/html/Admin/Tools/Shredder/autohandler index 955206420..d25350c27 100644 --- a/rt/share/html/Admin/Tools/Shredder/autohandler +++ b/rt/share/html/Admin/Tools/Shredder/autohandler @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -47,13 +47,13 @@ %# END BPS TAGGED BLOCK }}} <%INIT> unless( $session{'CurrentUser'}->HasRight( Right => 'SuperUser', Object => $RT::System ) ) { - return $m->comp( 'Elements/Error/NoRights' ); + return $m->comp( 'Elements/Error/NoRights' ); } use RT::Shredder (); my $path = RT::Shredder->StoragePath; unless( -d $path && -w _ ) { - return $m->comp( 'Elements/Error/NoStorage', Path => $path ); + return $m->comp( 'Elements/Error/NoStorage', Path => $path ); } $m->call_next(%ARGS);