You are here

function user_rev_diff_admin_paths in User Revision 7.2

Implements hook_admin_paths().

File

diff/user_rev_diff.module, line 77
Provides functionality to show a diff between two user revisions.

Code

function user_rev_diff_admin_paths() {
  if (variable_get('diff_admin_path_user', 0)) {
    $paths = array(
      'user/*/revisions/account/diff/*' => TRUE,
    );
    return $paths;
  }
}