mirror of
https://github.com/friendica/friendica
synced 2025-04-25 18:30:11 +00:00
Remove unused parameter $network in Model\User::getDefaultGroup
This commit is contained in:
parent
53ca59d9b6
commit
d011f747ff
2 changed files with 4 additions and 5 deletions
|
@ -481,13 +481,12 @@ class User
|
|||
/**
|
||||
* Returns the default group for a given user and network
|
||||
*
|
||||
* @param int $uid User id
|
||||
* @param string $network network name
|
||||
* @param int $uid User id
|
||||
*
|
||||
* @return int group id
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function getDefaultGroup($uid, $network = '')
|
||||
public static function getDefaultGroup($uid)
|
||||
{
|
||||
$user = DBA::selectFirst('user', ['def_gid'], ['uid' => $uid]);
|
||||
if (DBA::isResult($user)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue