Commit 9ce07b35 authored by JohnAlbin's avatar JohnAlbin
Browse files

Added ability to uninstall module.

parent 405fe682
Page Title 5.x-1.1
* Added Russian translation by SadhooKlay.
* Removed inaccurate package description from .info file.
* Added ability to uninstall module.
Page Title 5.x-1.0
* Initial release.
......@@ -36,3 +36,12 @@ function page_title_install() {
drupal_set_message(t('Table installation for the Page title module was unsuccessful. The tables may need to be installed by hand. See the README.txt file for a list of the installation queries.'), 'error');
* Implementation of hook_uninstall().
function page_title_uninstall() {
$items = array();
$items[] = update_sql('DROP TABLE {page_title}');
return $items;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment