From b586063ebe32fd15e0bf4dd74456830688e90d61 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 25 Nov 2009 01:11:29 +0000 Subject: [PATCH] Forgot to render the nav menu when on FB Connect login tab --- plugins/Facebook/FBConnectLogin.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/Facebook/FBConnectLogin.php b/plugins/Facebook/FBConnectLogin.php index f146bef7d1..d2bb8054c9 100644 --- a/plugins/Facebook/FBConnectLogin.php +++ b/plugins/Facebook/FBConnectLogin.php @@ -21,7 +21,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } - require_once INSTALLDIR . '/plugins/Facebook/FacebookPlugin.php'; class FBConnectLoginAction extends Action @@ -65,4 +64,9 @@ class FBConnectLoginAction extends Action $this->elementEnd('fieldset'); } + function showLocalNav() + { + $nav = new LoginGroupNav($this); + $nav->show(); + } }