function node_revision_delete_update_7201 in Node Revision Delete 7.3
Same name and namespace in other branches
- 7.2 node_revision_delete.install \node_revision_delete_update_7201()
Removes node_revision_delete_time if its values is 0.
It was matching a wrong condition in a switch at hook_cron.
File
- ./
node_revision_delete.install, line 73 - Install, update and uninstall functions for the Node Revision Delete module.
Code
function node_revision_delete_update_7201() {
if (variable_get('node_revision_delete_time') == 0) {
variable_del('node_revision_delete_time');
}
}