function commerce_cardonfile_uninstall in Commerce Card on File 7.2
Implements hook_uninstall().
File
- ./
commerce_cardonfile.install, line 11 - Installs the tables required by Commerce Card on File.
Code
function commerce_cardonfile_uninstall() {
field_delete_field('commerce_cardonfile_profile');
// Purge field data now to allow cardonfile module to be uninstalled
// if this is the only field remaining.
field_purge_batch(10);
}