You are here

function shield_update_7001 in Shield 7

Moves shield_excluded_paths variable value to shield_paths variable.

File

./shield.install, line 45
Installation file for shield module

Code

function shield_update_7001(&$sandbox) {
  variable_set('shield_paths', variable_get('shield_excluded_paths', ''));
  variable_del('shield_excluded_paths');
  return t('"shield_excluded_paths" value is moved to "shield_paths" and the unused variable is deleted.');
}