forked from GNUsocial/gnu-social
fix FBConnect so it doesn't muffle EndPrimaryNav
This commit is contained in:
parent
88e7092d23
commit
e9d7f18f0c
@ -313,6 +313,11 @@ class FBConnectPlugin extends Plugin
|
||||
$action->menuItem(common_local_url('peoplesearch'),
|
||||
_('Search'), _('Search for people or text'), false, 'nav_search');
|
||||
|
||||
// We are replacing the primary nav entirely; give other
|
||||
// plugins a chance to handle it here.
|
||||
|
||||
Event::handle('EndPrimaryNav', array($action));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user