You are here

function photoswipe_enable in PhotoSwipe 7

Implements hook_enable().

File

./photoswipe.install, line 12
Install, uninstall and update hooks for Photswipe module.

Code

function photoswipe_enable() {

  // Set jquery 1.7 as the jquery_update version.
  if (variable_get('jquery_update_jquery_version', 0) < 1.7) {
    variable_set('jquery_update_jquery_version', '1.7');
  }
}