[Jifty-commit] r5651 - Jifty-DBI/branches/tisql/lib/Jifty/DBI

Jifty commits jifty-commit at lists.jifty.org
Sun Aug 3 16:25:30 EDT 2008


Author: ruz
Date: Sun Aug  3 16:25:25 2008
New Revision: 5651

Modified:
   Jifty-DBI/branches/tisql/lib/Jifty/DBI/Tisql.pm

Log:
* delete experimental code

Modified: Jifty-DBI/branches/tisql/lib/Jifty/DBI/Tisql.pm
==============================================================================
--- Jifty-DBI/branches/tisql/lib/Jifty/DBI/Tisql.pm	(original)
+++ Jifty-DBI/branches/tisql/lib/Jifty/DBI/Tisql.pm	Sun Aug  3 16:25:25 2008
@@ -57,7 +57,6 @@
     );
     $self->{'tisql'}{'conditions'} = $tree->{'conditions'};
     $self->merge_joins( $tree );
-    $self->bundle_conditions( $tree ) if 0;
     $self->apply_query_tree( $tree );
     return $tree;
 }
@@ -155,20 +154,6 @@
 }
 }
 
-sub bundle_conditions {
-    my $self = shift;
-    my $tree = shift;
-
-    $self->apply_callback_to_tree(
-        $tree->{'conditions'},
-        sub {
-            my $condition = shift;
-            return if ref $condition->{'rhs'};
-            my $lhs = $condition->{'lhs'};
-        }
-    );
-}
-
 sub resolve_join {
     my $self = shift;
     my $meta = shift;


More information about the Jifty-commit mailing list