From: Evan Prodromou Date: Fri, 9 Oct 2009 18:06:08 +0000 (-0400) Subject: fix FBConnect so it doesn't muffle EndPrimaryNav X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e9d7f18f0c2ad05c0203bc347a74c0f69e497566;p=quix0rs-gnu-social.git fix FBConnect so it doesn't muffle EndPrimaryNav --- diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php index 593b49b4ed..cb19b05461 100644 --- a/plugins/FBConnect/FBConnectPlugin.php +++ b/plugins/FBConnect/FBConnectPlugin.php @@ -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; }