[Rt-commit] rt branch, 4.2/branded-subject-tag-again, created. rt-4.1.23-216-g681a933

Alex Vandiver alexmv at bestpractical.com
Fri Sep 27 15:01:07 EDT 2013


The branch, 4.2/branded-subject-tag-again has been created
        at  681a933c7b724b857a9c98d940bca95a284d65ec (commit)

- Log -----------------------------------------------------------------
commit 681a933c7b724b857a9c98d940bca95a284d65ec
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Fri Sep 27 14:59:37 2013 -0400

    Re-add 4.0.18 upgrade step, for those who already upgraded to 4.2.0
    
    The 4.0.18 upgrade step, while not important, was missed by users who
    had upgraded from 4.0.x (x < 18) to 4.2.  Re-add the upgrade step as
    4.2.1.

diff --git a/etc/upgrade/4.2.1/content b/etc/upgrade/4.2.1/content
new file mode 100644
index 0000000..5a3c864
--- /dev/null
+++ b/etc/upgrade/4.2.1/content
@@ -0,0 +1,11 @@
+ at Initial = (
+    sub {
+        my $attr = RT->System->FirstAttribute('BrandedSubjectTag');
+        return 1 unless $attr;
+        my ( $status, $msg ) = $attr->Delete;
+        unless ( $status ) {
+            RT->Logger->error("Couldn't delete System BrandedSubjectTag: $msg");
+        }
+        return 1;
+    },
+);

-----------------------------------------------------------------------


More information about the Rt-commit mailing list