]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileminilist.php
Yes, you see it? I got confused if it is a Plugin instance or just the plugin's name.
[quix0rs-gnu-social.git] / lib / profileminilist.php
index 4f4748722055aca1ebb555f60e601f7d0b23c634..976c1819500d08a84dac8d52a48d36998846f7ee 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,7 +48,7 @@ class ProfileMiniList extends ProfileList
         $this->out->elementStart('ul', 'entities users xoxo');
     }
 
-    function newListItem($profile)
+    function newListItem(Profile $profile)
     {
         return new ProfileMiniListItem($profile, $this->action);
     }