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

@ -1598,8 +1598,8 @@ sub resetGroupFields {
foreach my $tableName (keys %{ $tableCache }) {
foreach my $fieldName (@{ $tableCache->{$tableName} }) {
my $sql = sprintf 'UPDATE %s SET %s=3 where %s=?',
$db->dbh->quote_identifier($tableName),
(($db->dbh->quote_identifier($fieldName)) x 2);
$db->quote_identifier($tableName),
(($db->quote_identifier($fieldName)) x 2);
$db->write($sql, [ $gid ]);
}
}