[Rt-commit] r17591 - in rt/branches/3.999-DANGEROUS: etc
sartak at bestpractical.com
sartak at bestpractical.com
Tue Jan 6 13:46:14 EST 2009
Author: sartak
Date: Tue Jan 6 13:46:14 2009
New Revision: 17591
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/etc/initialdata
Log:
r78343 at onn: sartak | 2009-01-06 13:46:08 -0500
Need to make $approvals_id lazy because this is just a datafile, the approvals queue isn't created until long after queue => $approvals_id
Modified: rt/branches/3.999-DANGEROUS/etc/initialdata
==============================================================================
--- rt/branches/3.999-DANGEROUS/etc/initialdata (original)
+++ rt/branches/3.999-DANGEROUS/etc/initialdata Tue Jan 6 13:46:14 2009
@@ -23,7 +23,8 @@
description => 'A system-internal queue for the approvals system',
disabled => 2, } );
-my $approvals_id = do {
+use Scalar::Defer 'lazy';
+my $approvals_id = lazy {
my $queue = RT::Model::Queue->new;
$queue->load_by_cols(name => "___Approvals");
$queue->id;
More information about the Rt-commit
mailing list