Move Model\Profile::getTabs to new Module\BaseProfile class

This commit is contained in:
Hypolite Petovan 2020-01-26 09:49:11 -05:00
parent 0f5d6a009f
commit f2d917114f
10 changed files with 148 additions and 132 deletions

View file

@ -15,6 +15,7 @@ use Friendica\Model\Contact;
use Friendica\Model\Item;
use Friendica\Model\Profile;
use Friendica\Model\User;
use Friendica\Module\BaseProfile;
use Friendica\Util\Security;
function videos_init(App $a)
@ -171,7 +172,7 @@ function videos_content(App $a)
// tabs
$_is_owner = (local_user() && (local_user() == $owner_uid));
$o .= Profile::getTabs($a, 'videos', $_is_owner, $a->data['user']['nickname']);
$o .= BaseProfile::getTabsHTML($a, 'videos', $_is_owner, $a->data['user']['nickname']);
//
// dispatch request