You are here

function user_relationship_blocks_update_6000 in User Relationships 7

Same name and namespace in other branches
  1. 6 user_relationship_blocks/user_relationship_blocks.install \user_relationship_blocks_update_6000()

Implements 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_update_6000() {

  //do not execute if table already exists, to catch normal D6 updates.
  if (db_table_exists('user_relationship_blocks')) {
    return array();
  }
  user_relationship_blocks_install();
  return array();
}