Remove unused parameter $selected in Model\Item::fieldlist
This commit is contained in:
parent
341b83d1df
commit
c50be325bd
1 changed files with 3 additions and 3 deletions
|
@ -380,7 +380,7 @@ class Item extends BaseObject
|
|||
$usermode = true;
|
||||
}
|
||||
|
||||
$fields = self::fieldlist($selected, $usermode);
|
||||
$fields = self::fieldlist($usermode);
|
||||
|
||||
$select_fields = self::constructSelectFields($fields, $selected);
|
||||
|
||||
|
@ -487,7 +487,7 @@ class Item extends BaseObject
|
|||
$usermode = true;
|
||||
}
|
||||
|
||||
$fields = self::fieldlist($selected, $usermode);
|
||||
$fields = self::fieldlist($usermode);
|
||||
|
||||
$fields['thread'] = ['mention', 'ignored', 'iid'];
|
||||
|
||||
|
@ -523,7 +523,7 @@ class Item extends BaseObject
|
|||
*
|
||||
* @return array field list
|
||||
*/
|
||||
private static function fieldlist($selected, $usermode)
|
||||
private static function fieldlist($usermode)
|
||||
{
|
||||
$fields = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue