You are here

function hosting_client_install in Hosting 6.2

Same name and namespace in other branches
  1. 5 client/hosting_client.install \hosting_client_install()
  2. 7.4 client/hosting_client.install \hosting_client_install()
  3. 7.3 client/hosting_client.install \hosting_client_install()

Implementation of hook_install().

File

client/hosting_client.install, line 83
Install, update and uninstall for the clients module.

Code

function hosting_client_install() {

  // Create tables.
  drupal_install_schema('hosting_client');
  $ret = array();
  $ret[] = update_sql("INSERT INTO {hosting_client_user} (user, client) VALUES (1, 1)");
  return $ret;
}