You are here

function hosting_client_install in Hosting 7.4

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

Implements hook_install().

File

client/hosting_client.install, line 83
Define database schema, install and update functions for the hosting_client module.

Code

function hosting_client_install() {

  // Add default 'admin' client.
  $insert = db_insert('hosting_client_user')
    ->fields(array(
    'user' => 1,
    'client' => 1,
  ))
    ->execute();
}