You are here

function userpoints_nc_visits_permission in User points Nodes and Comments 7

Implements hook_permission().

File

userpoints_nc_visits/userpoints_nc_visits.module, line 11
Hooks and functions for userpoints_nc_visits module.

Code

function userpoints_nc_visits_permission() {
  return array(
    'userpoints nc track visits' => array(
      'title' => t('Track page visits'),
      'description' => t('Only visits from users who have this permission will count as eligible for granting !points.', userpoints_translation()),
    ),
  );
}