You are here

function og_menu_access_picture in Organic groups 6

Same name and namespace in other branches
  1. 6.2 modules/og_views/og_views.module \og_menu_access_picture()
1 string reference to 'og_menu_access_picture'
og_views_menu in modules/og_views/og_views.module
Implementation of hook_menu().

File

modules/og_views/og_views.module, line 32

Code

function og_menu_access_picture($gid) {
  $view = views_get_view('og_members_faces');
  return og_is_picture() && og_is_group_member($gid) && !$view->disabled;
}