You are here

function relation_update_7001 in Relation 7

Enable the new endpoint module and ctools.

File

./relation.install, line 292
Installation functions for Relation module.

Code

function relation_update_7001() {
  module_enable(array(
    'relation_endpoint',
  ));
  db_update('field_config')
    ->fields(array(
    'module' => 'relation_endpoint',
  ))
    ->condition('field_name', 'endpoints')
    ->execute();
}