function pathauto_uninstall in Pathauto 6.2
Same name and namespace in other branches
- 5.2 pathauto.install \pathauto_uninstall()
- 5 pathauto.install \pathauto_uninstall()
- 6 pathauto.install \pathauto_uninstall()
- 7 pathauto.install \pathauto_uninstall()
Implements hook_uninstall().
File
- ./
pathauto.install, line 31 - 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');
}