]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Merge pull request #8178 from nupplaphil/task/mod_noscrape
[friendica.git] / mod / notes.php
index 223e030232aa567ed91a865a822218d4373c1f47..38a72a741fd7e4ba2c3a0bfe62ab22034687fa79 100644 (file)
@@ -6,11 +6,10 @@
 use Friendica\App;
 use Friendica\Content\Nav;
 use Friendica\Content\Pager;
-use Friendica\Core\L10n;
 use Friendica\Database\DBA;
 use Friendica\DI;
 use Friendica\Model\Item;
-use Friendica\Model\Profile;
+use Friendica\Module\BaseProfile;
 
 function notes_init(App $a)
 {
@@ -29,7 +28,7 @@ function notes_content(App $a, $update = false)
                return;
        }
 
-       $o = Profile::getTabs($a, 'notes', true);
+       $o = BaseProfile::getTabsHTML($a, 'notes', true);
 
        if (!$update) {
                $o .= '<h3>' . DI::l10n()->t('Personal Notes') . '</h3>';