You are here

function og_menu_access_picture in Organic groups 6.2

Same name and namespace in other branches
  1. 6 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');

  // Not working properly. See http://drupal.org/node/345144.
  return og_is_picture() && og_is_group_member($gid) && !$view->disabled;
}