You are here

function panopoly_core_update_7104 in Panopoly Core 7

Ensure that jquery_update in enabled and configured.

File

./panopoly_core.install, line 223
An installation file for Panopoly Core

Code

function panopoly_core_update_7104() {
  module_enable(array(
    'jquery_update',
  ));

  // If the user never configured the jquery version, then we set it to our
  // default of 1.7.
  if (variable_get('jquery_update_jquery_version', 'not set') === 'not set') {
    variable_set('jquery_update_jquery_version', '1.7');
  }
}