[Jifty-commit] r6595 - in jifty/trunk: lib/Jifty/Action

Jifty commits jifty-commit at lists.jifty.org
Tue Mar 17 10:56:18 EDT 2009


Author: alexmv
Date: Tue Mar 17 10:56:18 2009
New Revision: 6595

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Action/Record.pm

Log:
 r43234 at kohr-ah:  chmrr | 2009-03-17 09:54:37 -0400
 Record classes are all loaded at startup; no need to require them later


Modified: jifty/trunk/lib/Jifty/Action/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record.pm	(original)
+++ jifty/trunk/lib/Jifty/Action/Record.pm	Tue Mar 17 10:56:18 2009
@@ -80,9 +80,8 @@
 
     my $self = $class->SUPER::new(%args);
 
-    # Load the associated record class just in case it hasn't been already
+    # Look up the record class
     my $record_class = $self->record_class;
-    Jifty::Util->require($record_class);
 
     # Die if we were given a record that wasn't a record
     if (ref $args{'record'} && !$args{'record'}->isa($record_class)) {


More information about the Jifty-commit mailing list