mirror of
https://github.com/friendica/friendica
synced 2025-04-26 08:30:10 +00:00
Remove unused theme info value "events_in_profile"
All public events (event if they are ownded by other users) are visible
This commit is contained in:
parent
2baa56d478
commit
0d53c69610
5 changed files with 4 additions and 16 deletions
|
@ -85,16 +85,9 @@ class Show extends BaseModule
|
|||
$tabs = '';
|
||||
|
||||
if (empty($this->parameters['nickname'])) {
|
||||
if ($this->app->getThemeInfoValue('events_in_profile')) {
|
||||
Nav::setSelected('home');
|
||||
} else {
|
||||
Nav::setSelected('calendar');
|
||||
}
|
||||
Nav::setSelected('home');
|
||||
|
||||
// tabs
|
||||
if ($this->app->getThemeInfoValue('events_in_profile')) {
|
||||
$tabs = BaseProfile::getTabsHTML($this->app, 'calendar', true, $this->app->getLoggedInUserNickname(), false);
|
||||
}
|
||||
$tabs = BaseProfile::getTabsHTML($this->app, 'calendar', true, $this->app->getLoggedInUserNickname(), false);
|
||||
|
||||
$this->page['aside'] .= Widget\CalendarExport::getHTML($this->session->getLocalUserId());
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue