fix FBConnect so it doesn't muffle EndPrimaryNav

This commit is contained in:
Evan Prodromou 2009-10-09 14:06:08 -04:00
parent 88e7092d23
commit e9d7f18f0c
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}