mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:50:12 +00:00
Move Model\Profile::getTabs to new Module\BaseProfile class
This commit is contained in:
parent
0f5d6a009f
commit
f2d917114f
10 changed files with 148 additions and 132 deletions
|
@ -9,7 +9,7 @@ use Friendica\Content\Pager;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Item;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Module\BaseProfile;
|
||||
|
||||
function notes_init(App $a)
|
||||
{
|
||||
|
@ -28,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>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue