You are here

function pathauto_uninstall in Pathauto 7

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. 6 pathauto.install \pathauto_uninstall()

Implements hook_uninstall().

File

./pathauto.install, line 75
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');
}