From: Hypolite Petovan Date: Tue, 16 Oct 2018 22:30:24 +0000 (-0400) Subject: Remove unused parameter $selected in Model\Item::fieldlist X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c50be325bd105d4088010f52e4da45bfcdf7b139;p=friendica.git Remove unused parameter $selected in Model\Item::fieldlist --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 824e240cc3..4275c18251 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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 = [];