function protected_node_update_6003 in Protected Node 6
Implementation of hook_update_N().
Make sure the global password isn't saved in clear. (unfortunately this doesn't fix it in backups...)
File
- ./
protected_node.install, line 343
Code
function protected_node_update_6003() {
$ret = array();
variable_del('protected_node_global_password_field');
drupal_set_message(t('Please change your global Protected node password as it may have been compromised.'), 'warning');
return $ret;
}