From: Matt S Trout <mst@shadowcat.co.uk>
Date: Sun, 7 Aug 2005 19:39:42 +0000 (+0000)
Subject: Commented out _cond_value code in InflateColumn - currently doesn't get called!
X-Git-Tag: v0.03001~56
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fef421d0f2df20e7ac3001b30ed8a3c34d0766a9;p=dbsrgits%2FDBIx-Class.git

Commented out _cond_value code in InflateColumn - currently doesn't get called!
---

diff --git a/lib/DBIx/Class/InflateColumn.pm b/lib/DBIx/Class/InflateColumn.pm
index a3290b0..5c7f914 100644
--- a/lib/DBIx/Class/InflateColumn.pm
+++ b/lib/DBIx/Class/InflateColumn.pm
@@ -77,12 +77,13 @@ sub new {
   return $class->NEXT::ACTUAL::new({ %$attrs, %deflated }, @rest);
 }
 
-sub _cond_value {
-  my ($self, $attrs, $key, $value) = @_;
-  if (exists $self->_columns->{$key}) {
-    $value = $self->_deflated_column($key, $value);
-  }
-  return $self->NEXT::ACTUAL::_cond_value($attrs, $key, $value);
-}
+# **** B0RKEN. DOESN'T GET CALLED!
+#sub _cond_value {
+#  my ($self, $attrs, $key, $value) = @_;
+#  if (exists $self->_columns->{$key}) {
+#    $value = $self->_deflated_column($key, $value);
+#  }
+#  return $self->NEXT::ACTUAL::_cond_value($attrs, $key, $value);
+#}
 
 1;