[Rt-commit] rt branch, 4.4/config-unless, created. rt-4.4.0-260-g1a977b7

Shawn Moore shawn at bestpractical.com
Wed Jun 22 19:06:15 EDT 2016


The branch, 4.4/config-unless has been created
        at  1a977b7a2e1afbbe149e2e0fcc26de020bfe40f1 (commit)

- Log -----------------------------------------------------------------
commit 1a977b7a2e1afbbe149e2e0fcc26de020bfe40f1
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Wed Jun 22 19:04:11 2016 -0400

    Remove conditionals on Set for Assets config
    
        They were necessary when Assets was an extension:
    
            https://github.com/bestpractical/rt-extension-assets/commit/af17753ca448b1d8504fb7e709e506f92d6dfabe
    
        However now that Assets is core and these settings are in RT_Config,
        they run before RT_SiteConfig anyway, so the conditionals are
        no longer needed.
    
    Fixes: I#32087

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 170a686..c137773 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1767,7 +1767,7 @@ Set($AssetSearchFields, {
     id          => '=',
     Name        => 'LIKE',
     Description => 'LIKE',
-}) unless $AssetSearchFields;
+});
 
 =item C<$AssetSearchFormat>
 
@@ -1796,7 +1796,7 @@ Set($AssetSearchFormat, q[
     HeldBy,
     Contacts,
     '__ActiveTickets__ __InactiveTickets__/TITLE:Related tickets',
-]) unless $AssetSearchFormat;
+]);
 
 =item C<$AssetSummaryFormat>
 
@@ -1814,7 +1814,7 @@ Set($AssetSummaryFormat, q[
     HeldBy,
     Contacts,
     '__ActiveTickets__ __InactiveTickets__/TITLE:Related tickets',
-]) unless $AssetSummaryFormat;
+]);
 
 =item C<$AssetSummaryRelatedTicketsFormat>
 
@@ -1830,7 +1830,7 @@ Set($AssetSummaryRelatedTicketsFormat, q[
     '<a href="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a>',
     QueueName,
     Status,
-]) unless $AssetSummaryRelatedTicketsFormat;
+]);
 
 =item C<$AssetBasicCustomFieldsOnCreate>
 

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


More information about the rt-commit mailing list