diff options
Diffstat (limited to 'rt/etc/upgrade/3.8.8')
-rw-r--r-- | rt/etc/upgrade/3.8.8/content | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/etc/upgrade/3.8.8/content b/rt/etc/upgrade/3.8.8/content index ee1943304..cad77e948 100644 --- a/rt/etc/upgrade/3.8.8/content +++ b/rt/etc/upgrade/3.8.8/content @@ -1,7 +1,7 @@ @Initial = ( sub { # make sure global CFs are not applied to local objects - my $ocfs = RT::ObjectCustomFields->new( $RT::SystemUser ); + my $ocfs = RT::ObjectCustomFields->new( RT->SystemUser ); $ocfs->Limit( FIELD => 'ObjectId', OPERATOR => '!=', VALUE => 0 ); my $alias = $ocfs->Join( FIELD1 => 'CustomField', @@ -26,7 +26,7 @@ my ($i, $prev_type) = (0, ''); while ( my ($lt, $id) = $sth->fetchrow_array ) { $i = 0 if $prev_type ne $lt; - my $ocf = RT::ObjectCustomField->new( $RT::SystemUser ); + my $ocf = RT::ObjectCustomField->new( RT->SystemUser ); $ocf->Load( $id ); my ($status, $msg) = $ocf->SetSortOrder( $i++ ); $RT::Logger->warning("Couldn't set SortOrder: $msg") |