You are here

better_messages.install in Better Messages 6.2

File

better_messages.install
View source
<?php

/**
 * Implementaton of hook_install
 */
function better_messages_install() {
  drupal_set_message(t("Better Messages is installed successfully.<br />Click here to visit the <a href=@href>settings page</a>!", array(
    '@href' => base_path() . 'admin/settings/better-messages',
  )));
}

/**
 * Implementaton of hook_uninstall
 */
function better_messages_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'better_messages_%'");
  db_query("DELETE FROM {system} WHERE name = 'better_messages'");
}

Functions

Namesort descending Description
better_messages_install Implementaton of hook_install
better_messages_uninstall Implementaton of hook_uninstall