Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/18/2010 08:00:33 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Remove all references to Wire component (addresses #1618). This code has been moved to backpat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-templatetags.php

    r2339 r2343  
    711711    }
    712712
    713 function bp_group_show_wire_setting( $group = false ) {
    714     global $groups_template;
    715 
    716     if ( !$group )
    717         $group =& $groups_template->group;
    718 
    719     if ( $group->enable_wire )
    720         echo ' checked="checked"';
    721 }
    722 
    723 function bp_group_is_wire_enabled( $group = false ) {
    724     global $groups_template;
    725 
    726     if ( !$group )
    727         $group =& $groups_template->group;
    728 
    729     if ( $group->enable_wire )
    730         return true;
    731 
    732     return false;
    733 }
    734 
    735713function bp_group_forum_permalink( $deprecated = false ) {
    736714    echo bp_get_group_forum_permalink();
     
    16131591        global $bp;
    16141592        return apply_filters( 'bp_get_new_group_news', $bp->groups->current_group->news );
    1615     }
    1616 
    1617 function bp_new_group_enable_wire() {
    1618     echo bp_get_new_group_enable_wire();
    1619 }
    1620     function bp_get_new_group_enable_wire() {
    1621         global $bp;
    1622         return (int) apply_filters( 'bp_get_new_group_enable_wire', $bp->groups->current_group->enable_wire );
    16231593    }
    16241594
Note: See TracChangeset for help on using the changeset viewer.