]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Revert Photo::getImageDataForPhoto return-type change
[friendica.git] / mod / notes.php
index eccbdcc892ab0a0ef967047588d55d6e0304f852..11ec8a035230b6005351c6466a052eb7155103c0 100644 (file)
@@ -45,21 +45,14 @@ function notes_content(App $a, $update = false)
                return;
        }
 
-       $o = BaseProfile::getTabsHTML($a, 'notes', true, $a->getNickname(), false);
+       $o = BaseProfile::getTabsHTML($a, 'notes', true, $a->getLoggedInUserNickname(), false);
 
        if (!$update) {
                $o .= '<h3>' . DI::l10n()->t('Personal Notes') . '</h3>';
 
                $x = [
-                       'is_owner' => true,
-                       'allow_location' => (($a->getUserValue('allow_location')) ? true : false),
-                       'default_location' => $a->getUserValue('default-location'),
-                       'nickname' => $a->getNickname(),
                        'lockstate' => 'lock',
                        'acl' => \Friendica\Core\ACL::getSelfOnlyHTML(local_user(), DI::l10n()->t('Personal notes are visible only by yourself.')),
-                       'bang' => '',
-                       'visitor' => 'block',
-                       'profile_uid' => local_user(),
                        'button' => DI::l10n()->t('Save'),
                        'acl_data' => '',
                ];