You are here

function drupalchat_install in DrupalChat 6.2

Same name and namespace in other branches
  1. 8 drupalchat.install \drupalchat_install()
  2. 6 drupalchat.install \drupalchat_install()
  3. 7.2 drupalchat.install \drupalchat_install()
  4. 7 drupalchat.install \drupalchat_install()

Implementation of hook_install().

3 calls to drupalchat_install()
drupalchat_update_6002 in ./drupalchat.install
drupalchat_update_6003 in ./drupalchat.install
drupalchat_update_6004 in ./drupalchat.install

File

./drupalchat.install, line 11
Installation file for the DrupalChat module.

Code

function drupalchat_install() {
  $success = drupal_install_schema('drupalchat');
  if ($success) {
    drupal_set_message(st('The DrupalChat module installed tables successfully.'));
  }
  else {
    drupal_set_message(st('The installation of the DrupalChat module failed.'), 'error');
  }
}