function workflow_access_disable in Workflow 5.2
Same name and namespace in other branches
- 5 workflow_access.module \workflow_access_disable()
- 7.2 workflow_access/workflow_access.install \workflow_access_disable()
Implementation of hook_disable().
Force a rebuild of the node access table when disabled to ensure that our entries are removed from the table.
File
- ./
workflow_access.module, line 23 - Provides node access permissions based on workflow states.
Code
function workflow_access_disable() {
workflow_access_disabling(TRUE);
node_access_rebuild();
}