You are here

function synonyms_modules_disabled in Synonyms 7

Implements hook_modules_disabled().

File

./synonyms.module, line 422
Provide synonyms feature for Drupal entities.

Code

function synonyms_modules_disabled($modules) {
  foreach ($modules as $module) {
    db_delete('synonyms_settings')
      ->condition('provider', db_like($module) . '%', 'LIKE')
      ->execute();
  }
}