[Rt-commit] rt branch, 4.4/default-class, repushed
? sunnavy
sunnavy at bestpractical.com
Tue Aug 18 16:48:03 EDT 2015
The branch 4.4/default-class was deleted and repushed:
was f0a9807a30fac757fdb4e460e55ffd4a5b4672a0
now f973a1d645054b3ee0540afb47a1d21eb35b321f
1: f0a9807 ! 1: f973a1d create 'General' class by default
@@ -15,32 +15,6 @@
+ Name => 'General',
+ Description => 'The default class',
+ HotList => 1,
-+ },
-+);
-
-diff --git a/etc/upgrade/4.3.9/content b/etc/upgrade/4.3.9/content
-new file mode 100644
---- /dev/null
-+++ b/etc/upgrade/4.3.9/content
-@@
-+use strict;
-+use warnings;
-+
-+our @Initial = (
-+ sub {
-+ my $class = RT::Class->new( RT->SystemUser );
-+ $class->Load( 'General' );
-+ return if $class->id;
-+ my ( $ret, $msg ) = $class->Create( Name => 'General', Description => 'The default class', HotList => 1 );
-+ if ( $ret ) {
-+ my ($ret, $msg) = $class->AddToObject(RT::Queue->new(RT->SystemUser));
-+ if ( !$ret ) {
-+ RT->Logger->error("Failed to apply class 'General' globally: $msg");
-+ }
-+ }
-+ else {
-+ RT->Logger->error("Failed to create class 'General': $msg");
-+ }
+ },
+);
More information about the rt-commit
mailing list