mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Remove obsolete profile_id parameter in Model\Profile::load
This commit is contained in:
parent
0b8fd92e1e
commit
a7dd0173a7
10 changed files with 11 additions and 16 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue