pathauto.install in Pathauto 5
Same filename and directory in other branches
Provides install, updated, and uninstall functions for Pathauto.
File
pathauto.installView source
<?php
/**
* @file
* Provides install, updated, and uninstall functions for Pathauto.
*/
/**
* Implementation of hook_uninstall().
*/
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');
}
Functions
Name | Description |
---|---|
pathauto_uninstall | Implementation of hook_uninstall(). |