Browse Source

Remove unused parameter $selected in Model\Item::fieldlist

pull/5941/head
Hypolite Petovan 3 years ago
parent
commit
c50be325bd
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/Model/Item.php

+ 3
- 3
src/Model/Item.php View File

@ -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…
Cancel
Save