function merci_line_item_delete in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
Deletes a line item by ID.
Parameters
$line_item_id: The ID of the line item to delete.
Return value
TRUE on success, FALSE otherwise.
2 string references to 'merci_line_item_delete'
- MigrateDestinationLineItem::rollback in merci_migrate/
merci_line_item.inc - MigrateDestinationReservation::rollback in merci_migrate/
merci_reservation.inc
File
- merci_line_item/
merci_line_item.module, line 584 - Defines the core MERCI line item entity and API functions interact with line items.
Code
function merci_line_item_delete($line_item_id) {
return merci_line_item_delete_multiple(array(
$line_item_id,
));
}