Skip to content
Snippets Groups Projects
Commit 9fdc47e8 authored by catch's avatar catch
Browse files

Issue #1320576 by amateescu: Fixed hook_field_purge_field_instance() doesn't exist.

parent 12428592
No related branches found
No related tags found
No related merge requests found
...@@ -2531,7 +2531,7 @@ function hook_field_purge_field($field) { ...@@ -2531,7 +2531,7 @@ function hook_field_purge_field($field) {
* @param $instance * @param $instance
* The instance being purged. * The instance being purged.
*/ */
function hook_field_purge_field_instance($instance) { function hook_field_purge_instance($instance) {
db_delete('my_module_field_instance_info') db_delete('my_module_field_instance_info')
->condition('id', $instance['id']) ->condition('id', $instance['id'])
->execute(); ->execute();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment