You are here

function pathauto_uninstall in Pathauto 6

Same name and namespace in other branches
  1. 5.2 pathauto.install \pathauto_uninstall()
  2. 5 pathauto.install \pathauto_uninstall()
  3. 6.2 pathauto.install \pathauto_uninstall()
  4. 7 pathauto.install \pathauto_uninstall()

Implementation of hook_uninstall().

File

./pathauto.install, line 62
Install, update, and uninstall functions for Pathauto.

Code

function pathauto_uninstall() {

  // Delete all the pathauto variables and then clear the variable cache
  db_query("DELETE FROM {variable} WHERE name LIKE 'pathauto_%'");
  cache_clear_all('variables', 'cache');
}