You are here

function copyprevention_update_7101 in Copy Prevention 7

Correct typo in variable name.

File

./copyprevention.install, line 21
Install and uninstall functions for Copy Prevention module.

Code

function copyprevention_update_7101(&$sandbox) {

  // Move value to a new variable.
  variable_set('copyprevention_images_min_dimension', variable_get('copyprevention_images_min_dimention', 150));

  // Remove old variable.
  variable_del('copyprevention_images_min_dimention');
}