You are here

function l10n_update_install in Localization update 6

Same name and namespace in other branches
  1. 7.2 l10n_update.install \l10n_update_install()
  2. 7 l10n_update.install \l10n_update_install()

Implementation of hook_install().

File

./l10n_update.install, line 155
Install file for l10n remote updates.

Code

function l10n_update_install() {
  $ret = array();
  drupal_install_schema('l10n_update');
  db_add_field($ret, 'locales_target', 'l10n_status', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  variable_set('l10n_update_rebuild_projects', 1);
  return $ret;
}