[Rt-commit] rt branch, 4.2/centralize-develmode, created. rt-4.1.8-212-g33f3a3a

Alex Vandiver alexmv at bestpractical.com
Thu May 2 18:17:00 EDT 2013


The branch, 4.2/centralize-develmode has been created
        at  33f3a3ac5f6811edc2b66fab155f6e24ada345f2 (commit)

- Log -----------------------------------------------------------------
commit 33f3a3ac5f6811edc2b66fab155f6e24ada345f2
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Mar 21 00:18:49 2011 -0400

    Move loading and calling of Module::Refresh to only one codepath

diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index 38ed304..1084415 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -151,8 +151,6 @@ sub import {
 
     RT::LoadConfig;
 
-    if (RT->Config->Get('DevelMode')) { require Module::Refresh; }
-
     RT::InitPluginPaths();
     RT::InitClasses();
 
diff --git a/sbin/rt-server.in b/sbin/rt-server.in
index c0e39bc..65e0b60 100644
--- a/sbin/rt-server.in
+++ b/sbin/rt-server.in
@@ -85,9 +85,6 @@ if (grep { m/help/ } @ARGV) {
 
 require RT;
 RT->LoadConfig();
-RT->InitPluginPaths();
-RT->InitLogging();
-require Module::Refresh if RT->Config->Get('DevelMode');
 
 require RT::Handle;
 my ($integrity, $state, $msg) = RT::Handle->CheckIntegrity;

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


More information about the Rt-commit mailing list