diff options
Diffstat (limited to 'rt/etc/upgrade/3.8.4/content')
-rw-r--r-- | rt/etc/upgrade/3.8.4/content | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rt/etc/upgrade/3.8.4/content b/rt/etc/upgrade/3.8.4/content index be5a6bf39..38d551450 100644 --- a/rt/etc/upgrade/3.8.4/content +++ b/rt/etc/upgrade/3.8.4/content @@ -4,7 +4,7 @@ $RT::Logger->debug("Going to correct arguments of NotifyGroup actions if you have any"); use strict; - my $actions = RT::ScripActions->new( $RT::SystemUser ); + my $actions = RT::ScripActions->new( RT->SystemUser ); $actions->Limit( FIELD => 'ExecModule', VALUE => 'NotifyGroup', @@ -21,9 +21,9 @@ my $obj; next unless $r->{'Type'}; if( lc $r->{'Type'} eq 'user' ) { - $obj = RT::User->new( $RT::SystemUser ); + $obj = RT::User->new( RT->SystemUser ); } elsif ( lc $r->{'Type'} eq 'group' ) { - $obj = RT::Group->new( $RT::SystemUser ); + $obj = RT::Group->new( RT->SystemUser ); } else { next; } |