mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50:10 +00:00
Remove unused first parameter from BaseProfile::getTabsHTML
- Add expected Profile::load call to Profile\Photos module
This commit is contained in:
parent
b83526ad0b
commit
ae76fa1174
10 changed files with 12 additions and 15 deletions
|
@ -32,14 +32,13 @@ class BaseProfile extends BaseModule
|
|||
/**
|
||||
* Returns the HTML for the profile pages tabs
|
||||
*
|
||||
* @param App $a
|
||||
* @param string $current
|
||||
* @param bool $is_owner
|
||||
* @param string $nickname
|
||||
* @return string
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function getTabsHTML(App $a, string $current, bool $is_owner, string $nickname, bool $hide_friends)
|
||||
public static function getTabsHTML(string $current, bool $is_owner, string $nickname, bool $hide_friends)
|
||||
{
|
||||
$baseProfileUrl = DI::baseUrl() . '/profile/' . $nickname;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue