Prune out a method call from db->dbh->quote_identifier.

This commit is contained in:
Colin Kuskie 2010-08-14 17:50:51 -07:00
parent b7b633bf19
commit 11ac13c349
12 changed files with 47 additions and 47 deletions

View file

@ -356,7 +356,7 @@ Get a row of data from a thing. Returns a hashref
sub getThingRecord {
my ( $self, $thingId, $recordId ) = @_;
my $table = $self->session->db->dbh->quote_identifier( "Thingy_" . $thingId );
my $table = $self->session->db->quote_identifier( "Thingy_" . $thingId );
return $self->session->db->quickHashRef( "SELECT * FROM " . $table . " WHERE thingDataId=?", [$recordId] );
}