You are here

function user_relationship_blocks_install in User Relationships 6

Install

1 call to user_relationship_blocks_install()
user_relationship_blocks_update_6000 in user_relationship_blocks/user_relationship_blocks.install
Implementation of hook_update_N(). Update 6000 creates db tables after upgrade from D5.

File

user_relationship_blocks/user_relationship_blocks.install, line 27
User relationship blocks installation

Code

function user_relationship_blocks_install() {
  drupal_install_schema('user_relationship_blocks');
  include_once drupal_get_path('module', 'user_relationship_blocks') . '/user_relationship_blocks.module';
  include_once drupal_get_path('module', 'user_relationships_api') . '/user_relationships_api.module';
  _user_relationship_blocks_insert_defaults();
}