[Rt-commit] rtir branch, 2.9/scrips-have-descriptions, created. 2.6.1-547-gea8e8bc
Kevin Falcone
falcone at bestpractical.com
Wed Jul 11 12:33:00 EDT 2012
The branch, 2.9/scrips-have-descriptions has been created
at ea8e8bc33b3cd26ed88a47d3f3f2bb24fe9971b3 (commit)
- Log -----------------------------------------------------------------
commit ea8e8bc33b3cd26ed88a47d3f3f2bb24fe9971b3
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Jul 11 12:32:18 2012 -0400
Scrips have Descriptions not Names
diff --git a/etc/upgrade/2.9.0/content b/etc/upgrade/2.9.0/content
index 257229b..3768a18 100644
--- a/etc/upgrade/2.9.0/content
+++ b/etc/upgrade/2.9.0/content
@@ -398,10 +398,10 @@ our @Final = (
);
while ( my $scrip = $scrips->Next ) {
my $value = 'Set Due Date On Incident';
- next if $scrip->Name eq $value;
+ next if $scrip->Description eq $value;
- my ($status, $msg) = $scrip->SetName( $value );
- $RT::Logger->error("Couldn't set scrip's name: $msg")
+ my ($status, $msg) = $scrip->SetDescription( $value );
+ $RT::Logger->error("Couldn't set scrip's description: $msg")
unless $status;
}
},
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list