]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileminilist.php
Merge remote-tracking branch 'gnuio/master' into nightly
[quix0rs-gnu-social.git] / lib / profileminilist.php
index 4f4748722055aca1ebb555f60e601f7d0b23c634..807bed50a2f86d0c5e7a13994f5248d5dd937578 100644 (file)
@@ -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()