Closed (fixed)
Project:
Organic Groups
Version:
5.x-2.2
Component:
og.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2007 at 10:40 UTC
Updated:
11 May 2007 at 12:29 UTC
In og_menu there is a call to og_list_groups_page but that function does not exist anymore... also the path 'og' is handled by the view 'og/all'
My guess is that that following menu entry for 'og' may be safely removed
function og_menu($may_cache) {
// cut out some lines
if ($may_cache) {
// cut out some more lines
$items[] = array('path' => 'og', 'callback' => 'og_list_groups_page', 'title' => t('Groups'), 'weight' => 3, 'access' => user_access('access content'));
I didn't make a patch for this because I have no idea how to properly test if the removal of this line has side effects
Comments
Comment #1
moshe weitzman commentedcommitted fix to 5 and HEAD. required a change to og_views so that the og path is still handled. thanks for catching this.
Comment #2
killes@www.drop.org commented