You are here

function lingotek_update_7203 in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.7 lingotek.install \lingotek_update_7203()
  2. 7.3 lingotek.install \lingotek_update_7203()
  3. 7.4 lingotek.install \lingotek_update_7203()
  4. 7.5 lingotek.install \lingotek_update_7203()
  5. 7.6 lingotek.install \lingotek_update_7203()

Install default FPRM configuration data to support advanced content parsing.

File

./lingotek.install, line 261
Installation for Lingotek Community Translation Module.

Code

function lingotek_update_7203(&$sandbox) {
  if (!variable_get('lingotek_advanced_xml_config1', FALSE) && !variable_get('lingotek_advanced_xml_config2', FALSE)) {
    lingotek_set_default_advanced_xml();
  }
  else {
    return t('No action was taken, since your system already has data in the Primary and/or Secondary advanced parsing configuration fields.
      If you wish to review the default configuration files and compare them to your current settings, the files are in the fprm subfolder of the lingotek module.');
  }
}