function _anonymous_publishing_fixvn in Anonymous Publishing 7
Helper function for anonymous_publishing_update_7010.
1 call to _anonymous_publishing_fixvn()
- anonymous_publishing_update_7010 in ./
anonymous_publishing.install - Fix variables name to please DrupalPractice.
File
- ./
anonymous_publishing.install, line 547 - Install and uninstall hooks.
Code
function _anonymous_publishing_fixvn($vid) {
$value = variable_get('anonymous_publishing_' . $vid, FALSE);
if ($value) {
variable_set('anonymous_publishing_cl_' . autodelhours, $value);
}
variable_del('anonymous_publishing_' . $vid);
}