[Jifty-commit] r7334 - in Jifty-DBI/branches/tisql: lib/Jifty/DBI

Jifty commits jifty-commit at lists.jifty.org
Sat Jul 18 08:34:24 EDT 2009


Author: ruz
Date: Sat Jul 18 08:34:24 2009
New Revision: 7334

Modified:
   Jifty-DBI/branches/tisql/   (props changed)
   Jifty-DBI/branches/tisql/lib/Jifty/DBI/Collection.pm

Log:
 r7221 at Macintosh:  ruz | 2009-06-10 00:13:32 +0300
 * don't build local defaults, just pass through


Modified: Jifty-DBI/branches/tisql/lib/Jifty/DBI/Collection.pm
==============================================================================
--- Jifty-DBI/branches/tisql/lib/Jifty/DBI/Collection.pm	(original)
+++ Jifty-DBI/branches/tisql/lib/Jifty/DBI/Collection.pm	Sat Jul 18 08:34:24 2009
@@ -1817,18 +1817,8 @@
 
 sub join {
     my $self = shift;
-    my %args = (
-        type    => 'normal',
-        column1 => undef,
-        alias1  => 'main',
-        table2  => undef,
-        column2 => undef,
-        alias2  => undef,
-        @_
-    );
-
     return if $self->derived;
-    $self->_handle->join( collection => $self, %args );
+    $self->_handle->join( collection => $self, @_ );
 
 }
 


More information about the Jifty-commit mailing list