Commented out _cond_value code in InflateColumn - currently doesn't get called!
Matt S Trout [Sun, 7 Aug 2005 19:39:42 +0000 (19:39 +0000)]
lib/DBIx/Class/InflateColumn.pm

index a3290b0..5c7f914 100644 (file)
@@ -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;