[buddypress-trac] [BuddyPress] #984: redundant code in bp-friends-templatetags.php

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Sep 7 17:14:57 UTC 2009


#984: redundant code in bp-friends-templatetags.php
------------------------+---------------------------------------------------
Reporter:  DJPaul       |       Owner:     
    Type:  enhancement  |      Status:  new
Priority:  trivial      |   Milestone:  1.1
Keywords:               |  
------------------------+---------------------------------------------------
 function bp_get_friend_avatar_thumb() {
                 global $friends_template;

                 if ( !$template )
                         $template =
 &$friends_template->friendship->friend;

                 return apply_filters( 'bp_get_friend_avatar_thumb',
 $friends_template->friendship->friend->avatar_thumb );
         }

 I am assuming the $template stuff is old.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/984>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list