remove duplicate drupal hook snippets