You are here

function user_revision_admin_paths in User Revision 7

Same name and namespace in other branches
  1. 7.2 user_revision.module \user_revision_admin_paths()

Implements hook_admin_paths().

File

./user_revision.module, line 150
Enables user revision.

Code

function user_revision_admin_paths() {
  if (variable_get('node_admin_theme')) {
    $paths = array(
      'user/*/revisions' => TRUE,
      'user/*/revisions/*/revert' => TRUE,
      'user/*/revisions/*/delete' => TRUE,
    );
    return $paths;
  }
}