Remove obsolete profile_id parameter in Model\Profile::load

This commit is contained in:
Hypolite Petovan 2020-01-27 22:01:12 -05:00
parent 0b8fd92e1e
commit a7dd0173a7
10 changed files with 11 additions and 16 deletions

View file

@ -121,13 +121,12 @@ class Profile
*
* @param App $a
* @param string $nickname string
* @param int $profile_id int
* @param array $profiledata array
* @param boolean $show_connect Show connect link
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
public static function load(App $a, $nickname, $profile_id = 0, array $profiledata = [], $show_connect = true)
public static function load(App $a, $nickname, array $profiledata = [], $show_connect = true)
{
$user = DBA::selectFirst('user', ['uid'], ['nickname' => $nickname, 'account_removed' => false]);