You are here

function stringoverrides_uninstall in String Overrides 6

Same name and namespace in other branches
  1. 8 stringoverrides.install \stringoverrides_uninstall()
  2. 5 stringoverrides.install \stringoverrides_uninstall()
  3. 7 stringoverrides.install \stringoverrides_uninstall()

Implementation of hook_uninstall().

File

./stringoverrides.install, line 6

Code

function stringoverrides_uninstall() {

  // Remove all stored string replacements.
  db_query("DELETE FROM {variable} WHERE name LIKE 'locale_custom_strings_%'");
  db_query("DELETE FROM {variable} WHERE name LIKE 'locale_custom_disabled_strings_%'");
}