From 302f0236bdee73afc9183f724432df2f43fb480a Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 10 Mar 2011 17:13:34 -0800 Subject: [PATCH] Make correct nav menus show --- plugins/ExtendedProfile/profiledetailaction.php | 13 +------------ .../ExtendedProfile/profiledetailsettingsaction.php | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/plugins/ExtendedProfile/profiledetailaction.php b/plugins/ExtendedProfile/profiledetailaction.php index d2eb06775c..beac7d6321 100644 --- a/plugins/ExtendedProfile/profiledetailaction.php +++ b/plugins/ExtendedProfile/profiledetailaction.php @@ -21,7 +21,7 @@ if (!defined('STATUSNET')) { exit(1); } -class ProfileDetailAction extends ProfileAction +class ProfileDetailAction extends ShowstreamAction { function isReadOnly($args) @@ -34,23 +34,12 @@ class ProfileDetailAction extends ProfileAction return $this->profile->getFancyName(); } - function showLocalNav() - { - $nav = new PersonalGroupNav($this); - $nav->show(); - } - function showStylesheets() { parent::showStylesheets(); $this->cssLink('plugins/ExtendedProfile/profiledetail.css'); return true; } - function handle($args) - { - $this->showPage(); - } - function showContent() { $cur = common_current_user(); diff --git a/plugins/ExtendedProfile/profiledetailsettingsaction.php b/plugins/ExtendedProfile/profiledetailsettingsaction.php index c18732c058..ec2c4935a2 100644 --- a/plugins/ExtendedProfile/profiledetailsettingsaction.php +++ b/plugins/ExtendedProfile/profiledetailsettingsaction.php @@ -21,7 +21,7 @@ if (!defined('STATUSNET')) { exit(1); } -class ProfileDetailSettingsAction extends SettingsAction +class ProfileDetailSettingsAction extends ProfileSettingsAction { function title() -- 2.39.5