X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fprofileminilist.php;h=807bed50a2f86d0c5e7a13994f5248d5dd937578;hb=586fb5a5175d7a10f5f78dd026434e48202e5451;hp=4f4748722055aca1ebb555f60e601f7d0b23c634;hpb=19e7cf5f4a743268defc385dd546e39c6f3e29e8;p=quix0rs-gnu-social.git diff --git a/lib/profileminilist.php b/lib/profileminilist.php index 4f47487220..807bed50a2 100644 --- a/lib/profileminilist.php +++ b/lib/profileminilist.php @@ -29,8 +29,6 @@ if (!defined('GNUSOCIAL')) { exit(1); } -define('PROFILES_PER_MINILIST', 8); - /** * Widget to show a list of profiles, good for sidebar * @@ -50,9 +48,9 @@ class ProfileMiniList extends ProfileList $this->out->elementStart('ul', 'entities users xoxo'); } - function newListItem($profile) + function newListItem(Profile $target) { - return new ProfileMiniListItem($profile, $this->action); + return new ProfileMiniListItem($target, $this->action); } function maxProfiles()