Skip to:
Content

BuddyPress.org

Changeset 913


Ignore:
Timestamp:
01/23/2009 08:13:56 PM (18 years ago)
Author:
apeatling
Message:

Removing dependency on bp-wire

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r906 r913  
    482482        switch( $action ) {
    483483                case 'new_wire_post':
    484                         $wire_post = new BP_Wire_Post( $bp['profile']['table_name_wire'], $item_id );
     484                        if ( class_exists('BP_Wire_Post') ) {
     485                                $wire_post = new BP_Wire_Post( $bp['profile']['table_name_wire'], $item_id );
     486                        }
    485487                       
    486488                        if ( !$wire_post )
Note: See TracChangeset for help on using the changeset viewer.