MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup

This commit is contained in:
skodak 2009-06-13 17:55:51 +00:00
parent a8c31db2a3
commit 0bcf8b6f0d
10 changed files with 21 additions and 83 deletions

View file

@ -323,9 +323,7 @@ class AuthorizeNet
unset($order->paymentmethod);
}
$order->status = AN_STATUS_VOID;
if (! $DB->update_record($tableupdate, $order)) {
message_to_admin("Error while trying to update data in table $tableupdate. Please edit manually this record: ID=$order->id.", $order);
}
$DB->update_record($tableupdate, $order);
}
break;
}