function _revision_deletion_access in Revision Deletion 6
Same name and namespace in other branches
- 7 revision_deletion.module \_revision_deletion_access()
Replace _node_revision_access().
1 string reference to '_revision_deletion_access'
- revision_deletion_menu_alter in ./
revision_deletion.module - Implementation of hook_menu_alter(). Intercepts the core node revisions list and replaces it with ours.
File
- ./
revision_deletion.module, line 92 - Node Revision Deletion, written by Greg Holsclaw
Code
function _revision_deletion_access($node, $op = 'delete') {
return _node_revision_access($node, $op) || user_access('mass delete revisions');
}