X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=1f67e486d6a6d06ab98bddb4116dd70874575611;hb=HEAD;hp=6ecc819240ff67d817f27dc9ee91c7aa540d61ec;hpb=acaee626f5f23f4c1dc19c31896a0797a251b58f;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index 6ecc819240..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,7 +28,7 @@ function notes_content(App $a, $update = false) return; } - $o = Profile::getTabs($a, true); + $o = Profile::getTabs($a, 'notes', true); if (!$update) { $o .= '

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

';