You are here

varnish.install in Varnish 6

Same filename and directory in other branches
  1. 8 varnish.install
  2. 7 varnish.install

Updates for the varnish module.

File

varnish.install
View source
<?php

/**
 * @file
 * Updates for the varnish module.
 */

/**
 * Changes the varnish_legacy variable to a varnish_version variable
 * that is a little more flexible.
 */
function varnish_update_6100(&$sandbox) {
  $legacy = variable_get('varnish_legacy', 0);
  if ($legacy) {
    variable_set('varnish_version', 2.0);
  }
  return array();
}

Functions

Namesort descending Description
varnish_update_6100 Changes the varnish_legacy variable to a varnish_version variable that is a little more flexible.