[buddypress-trac] [BuddyPress] #1719: Functions related to friends output broke template output when Friends' module is disabled

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jan 28 15:29:25 UTC 2010


#1719: Functions related to friends output broke template output when Friends'
module is disabled
---------------------+------------------------------------------------------
Reporter:  foralien  |       Owner:     
    Type:  defect    |      Status:  new
Priority:  minor     |   Milestone:  1.2
Keywords:            |  
---------------------+------------------------------------------------------
 The function '''bp_get_total_friend_count()''' spreaded over template's
 files of new default theme (BP 1.2-beta), ex. in activity/index, to check
 if a user has friends leads to "call undefined function" when friend's
 module is disabled...
 Need if-function-exists check or something like this.

 Related Forum topic
 http://buddypress.org/forums/topic/problem-with-friend-related-functions-
 when-friends-module-disabled

 P.S. Sorry, if something wrong with this ticket - I'm quite new to trac
 and to bug reporting in general.

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


More information about the buddypress-trac mailing list