function _commerce_invoice_revert_views in Commerce Invoice 7.2
1 call to _commerce_invoice_revert_views()
- commerce_invoice_update_7202 in ./
commerce_invoice.install - Update the commerce_invoice_invoices view.
File
- ./
commerce_invoice.install, line 295 - Install and uninstall functions for the Commerce Invoice module.
Code
function _commerce_invoice_revert_views() {
views_invalidate_cache();
if ($view = views_get_view('commerce_invoice_invoices')) {
views_revert_view($view);
}
}