projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.2.11, ticket#13852
[freeside.git]
/
rt
/
etc
/
upgrade
/
3.8.4
/
content
diff --git
a/rt/etc/upgrade/3.8.4/content
b/rt/etc/upgrade/3.8.4/content
index
38d5514
..
ac490d3
100644
(file)
--- a/
rt/etc/upgrade/3.8.4/content
+++ b/
rt/etc/upgrade/3.8.4/content
@@
-1,8
+1,10
@@
+use strict;
+use warnings;
-@Final = (
+
+our @Final = (
sub {
sub {
- $RT::Logger->debug("Going to correct arguments of NotifyGroup actions if you have any");
- use strict;
+ RT->Logger->debug("Going to correct arguments of NotifyGroup actions if you have any");
my $actions = RT::ScripActions->new( RT->SystemUser );
$actions->Limit(
my $actions = RT::ScripActions->new( RT->SystemUser );
$actions->Limit(
@@
-45,12
+47,12
@@
if ( my $struct = eval { Storable::thaw( $argument ) } ) {
$new = $converter->( $struct );
} else {
if ( my $struct = eval { Storable::thaw( $argument ) } ) {
$new = $converter->( $struct );
} else {
- $new = join
/, /
, grep length, split /[^0-9]+/, $argument;
+ $new = join
", "
, grep length, split /[^0-9]+/, $argument;
}
next if $new eq $argument;
my ($status, $msg) = $action->__Set( Field => 'Argument', Value => $new );
}
next if $new eq $argument;
my ($status, $msg) = $action->__Set( Field => 'Argument', Value => $new );
-
$RT::
Logger->warning( "Couldn't change argument value of the action: $msg" )
+
RT->
Logger->warning( "Couldn't change argument value of the action: $msg" )
unless $status;
}
},
unless $status;
}
},