]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix FBConnect so it doesn't muffle EndPrimaryNav
authorEvan Prodromou <evan@status.net>
Fri, 9 Oct 2009 18:06:08 +0000 (14:06 -0400)
committerEvan Prodromou <evan@status.net>
Fri, 9 Oct 2009 18:06:08 +0000 (14:06 -0400)
plugins/FBConnect/FBConnectPlugin.php

index 593b49b4ed4810ec391387d0e78ffa909c60cbc6..cb19b054610abb9f8961a3e88b6e0ba727678215 100644 (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;
     }