[Rt-commit] rt branch, 5.0/fix-rtir-install, created. rt-5.0.0alpha1-262-g9bdb03aab1

Blaine Motsinger blaine at bestpractical.com
Wed May 6 20:00:49 EDT 2020


The branch, 5.0/fix-rtir-install has been created
        at  9bdb03aab1d494afca9192aa1f60cd8477eb16c0 (commit)

- Log -----------------------------------------------------------------
commit 9bdb03aab1d494afca9192aa1f60cd8477eb16c0
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Wed May 6 18:00:47 2020 -0500

    Remove use statement to fix RTIR install
    
    Commit 1bcdd32 left a use statement loading RT::Dashboard causing
    'make initdb' for RTIR to fail.

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 322f70f269..f21eaf42be 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -4683,7 +4683,6 @@ sub UpdateDashboard {
             return ( $ok, $msg ) = $user->SetPreferences( 'HomepageSettings', $data->{panes} );
         }
     } else {
-        use RT::Dashboard;
         my $Dashboard = RT::Dashboard->new( $session{'CurrentUser'} );
         ( $ok, $msg ) = $Dashboard->LoadById($id);
 

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


More information about the rt-commit mailing list