[Rt-commit] r17748 - in rt/3.999/trunk: .
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jan 15 09:32:35 EST 2009
Author: sunnavy
Date: Thu Jan 15 09:32:35 2009
New Revision: 17748
Modified:
rt/3.999/trunk/ (props changed)
rt/3.999/trunk/sbin/migrate-db-from-rt3
Log:
r18787 at sunnavys-mb: sunnavy | 2009-01-15 22:09:07 +0800
put Jifty->new in BEGIN block
Modified: rt/3.999/trunk/sbin/migrate-db-from-rt3
==============================================================================
--- rt/3.999/trunk/sbin/migrate-db-from-rt3 (original)
+++ rt/3.999/trunk/sbin/migrate-db-from-rt3 Thu Jan 15 09:32:35 2009
@@ -8,6 +8,11 @@
use FindBin;
use lib "$FindBin::Bin/../lib";
+use Jifty::Everything;
+BEGIN {
+ Jifty->new();
+}
+
my %args;
confess "unknown option"
@@ -96,9 +101,6 @@
# need to add a row for the default status schema in Attributes and update
# part columns of that table
-use Jifty;
-Jifty->new();
-
use RT::Model::AttributeCollection;
my $collection =
RT::Model::AttributeCollection->new( current_user => RT->system_user );
More information about the Rt-commit
mailing list