Remove getValue from Assets, except for those in getEditForm which will go away later.

This commit is contained in:
Colin Kuskie 2010-02-16 15:51:01 -08:00
parent 1b647c70f2
commit ec5208839e
9 changed files with 45 additions and 45 deletions

View file

@ -325,7 +325,7 @@ sub getTaxConfiguration {
my $self = shift;
my $namespace = shift;
my $configs = eval { from_json( $self->getValue('taxConfiguration') ) };
my $configs = eval { from_json( $self->taxConfiguration ) };
if ($@) {
$self->session->log->error( 'Tax configuration of asset ' . $self->getId . ' appears to be corrupt. :' . $@ );
return undef;
@ -617,7 +617,7 @@ sub setTaxConfiguration {
my $configuration = shift;
# Fetch current tax configurations
my $configs = eval { from_json( $self->getValue('taxConfiguration') ) };
my $configs = eval { from_json( $self->taxConfiguration ) };
if ($@) {
$self->session->log->error( 'Tax configuration of asset ' . $self->getId . ' is corrupt.' );
return undef;