]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Merge pull request #7932 from MrPetovan/bug/fatal-errors
[friendica.git] / mod / notes.php
index 90afa16ca537db09b91ff69759803eace473a952..1f67e486d6a6d06ab98bddb4116dd70874575611 100644 (file)
@@ -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 .= '<h3>' . L10n::t('Personal Notes') . '</h3>';