From ecec4836f8228eca6edbabec311abe58f1d18612 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Wed, 7 Jul 2010 02:32:33 -0500 Subject: [PATCH] prevent preloading of upgrade modules --- lib/WebGUI/Paths.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WebGUI/Paths.pm b/lib/WebGUI/Paths.pm index 22238e932..fb749097b 100644 --- a/lib/WebGUI/Paths.pm +++ b/lib/WebGUI/Paths.pm @@ -203,6 +203,7 @@ Returns the list of modules to exclude from preloading as an array. sub preloadExclude { my $class = shift; my @excludes = _readTextLines($class->preloadExclusions); + push @excludes, 'WebGUI::Upgrade', 'WebGUI::Upgrade::*'; return @excludes; }