function paymentreference_delete_by_field in Payment 7
Delete a Payment from the queue by field.
Parameters
string $field_name:
2 calls to paymentreference_delete_by_field()
- PaymentreferenceTestQueueWebTestCase::testQueueCRUD in modules/
paymentreference/ tests/ paymentreference_test/ tests/ PaymentreferenceTestQueueWebTestCase.test - paymentreference_field_delete_field in modules/
paymentreference/ paymentreference.module - Implements hook_field_delete_field().
File
- modules/
paymentreference/ paymentreference.module, line 406 - Hook implementations and general functions.
Code
function paymentreference_delete_by_field($field_name) {
db_delete('paymentreference')
->condition('field_name', $field_name)
->execute();
}