X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=1f67e486d6a6d06ab98bddb4116dd70874575611;hb=d7c832748289b24741e34bc44e4906fc71a45d84;hp=90afa16ca537db09b91ff69759803eace473a952;hpb=5a802bc474abca945240f6a9a2730213e88b30af;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index 90afa16ca5..1f67e486d6 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -17,13 +17,7 @@ function notes_init(App $a) return; } - $profile = 0; - - $which = $a->user['nickname']; - Nav::setSelected('home'); - - //Profile::load($a, $which, $profile); } @@ -34,9 +28,7 @@ function notes_content(App $a, $update = false) return; } - require_once 'include/conversation.php'; - - $o = Profile::getTabs($a, true); + $o = Profile::getTabs($a, 'notes', true); if (!$update) { $o .= '

' . L10n::t('Personal Notes') . '

';