summaryrefslogtreecommitdiff
path: root/plugins/FBConnect/FBConnectPlugin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-09 14:06:08 -0400
committerEvan Prodromou <evan@status.net>2009-10-09 14:06:08 -0400
commite9d7f18f0c2ad05c0203bc347a74c0f69e497566 (patch)
tree1750e418d9b69f97a1bd7811e2f622f2569c3ce0 /plugins/FBConnect/FBConnectPlugin.php
parent88e7092d2326403ab5cb0c7261b665154491e75c (diff)
fix FBConnect so it doesn't muffle EndPrimaryNav
Diffstat (limited to 'plugins/FBConnect/FBConnectPlugin.php')
-rw-r--r--plugins/FBConnect/FBConnectPlugin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php
index 593b49b4e..cb19b0546 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;
}