[Bps-public-commit] Module-Install-RTx branch, remove-cmp_versions, updated. 0.32-2-g71b27e8
Kevin Falcone
falcone at bestpractical.com
Wed Jan 8 15:23:03 EST 2014
The branch, remove-cmp_versions has been updated
via 71b27e84c52ac6f984fee7b916c63c0e90fa2184 (commit)
from 0ab9be632525a925b3865df7acd7a39a0dfe3e40 (commit)
Summary of changes:
lib/Module/Install/RTx.pm | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit 71b27e84c52ac6f984fee7b916c63c0e90fa2184
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Mon Sep 16 13:14:42 2013 -0400
Explicitly require RT::Handle
If you're not make database changes, you need to require RT::Handle
explicitly
diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index 99f6cea..a769617 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -179,6 +179,7 @@ sub requires_rt {
# if we're exactly the same version as what we want, silently return
return if ($version eq $RT::VERSION);
+ require RT::Handle;
my @sorted = sort RT::Handle::cmp_version $version,$RT::VERSION;
if ($sorted[-1] eq $version) {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list