function user_revision_admin_paths in User Revision 7.2
Same name and namespace in other branches
- 7 user_revision.module \user_revision_admin_paths()
Implements hook_admin_paths().
File
- ./
user_revision.module, line 180 - Enables user revision.
Code
function user_revision_admin_paths() {
if (variable_get('user_revision_admin_theme', 0)) {
$paths = array(
'user/*/revisions' => TRUE,
'user/*/revisions/account/*' => TRUE,
);
return $paths;
}
}