OSDN Git Service

embr
[embrj/master.git] / inc / followingWall.php
index 6e3af94..67b8730 100644 (file)
@@ -7,17 +7,12 @@
        $t = getTwitter();\r
        $friends = $t->friends()->users;\r
        $html = '<div id="following_list">';\r
-       $count = 0;\r
-       $MAX_COUNT = 30;\r
        foreach($friends as $friend){\r
                $html .= '<span class="vcard">\r
                        <a class="url" title="'.$friend->name.'" rel="contact" href="../user.php?id='.$friend->screen_name.'">\r
                        <img class="photo fn" width="24" height="24" src="'.getAvatar($friend->profile_image_url).'" alt="'.$friend->name.'" />\r
                        </a>\r
                        </span>';\r
-               if(++$count == $MAX_COUNT){\r
-                       break;\r
-               }\r
        }\r
        echo $html.'</div>';\r
 ?>\r