You are here

function getlocations_access_user_location in Get Locations 6

Same name and namespace in other branches
  1. 6.2 getlocations.module \getlocations_access_user_location()
  2. 7.2 getlocations.module \getlocations_access_user_location()
  3. 7 getlocations.module \getlocations_access_user_location()
1 string reference to 'getlocations_access_user_location'
getlocations_menu in ./getlocations.module
Implementation of hook_menu().

File

./getlocations.module, line 192
Displays locations on a map. for Drupal 6 using version 3 googlemaps API

Code

function getlocations_access_user_location() {
  if (module_exists('location') && user_access('access getlocations') && user_access('access user profiles') && user_access('access user getlocations') && module_exists('location_user')) {
    return TRUE;
  }
  return FALSE;
}