]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused parameter $selected in Model\Item::fieldlist
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 16 Oct 2018 22:30:24 +0000 (18:30 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 16 Oct 2018 22:30:24 +0000 (18:30 -0400)
src/Model/Item.php

index 824e240cc36e54edcf7377889a80878ecfbb35d8..4275c18251dd54fed31c5170c43bcc43271f768d 100644 (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 = [];