Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/08/2011 02:15:22 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Port user active/status functions from bbPress 2. Deprecate old _core_ functions into 1.6.php as wrappers. See #3739.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-functions.php

    r5302 r5305  
    169169        return false;
    170170
    171     if ( bp_core_is_user_spammer( $topic_poster ) || bp_core_is_user_deleted( $topic_poster ) )
     171    if ( bp_is_user_inactive( $topic_poster ) )
    172172        return false;
    173173
     
    203203
    204204    // Check if the user is a spammer
    205     if ( bp_core_is_user_spammer( bp_loggedin_user_id() ) || bp_core_is_user_deleted( bp_loggedin_user_id() ) )
     205    if ( bp_is_user_inactive( bp_loggedin_user_id() ) )
    206206        return false;
    207207
     
    515515        return false;
    516516
    517     if ( bp_core_is_user_spammer( bp_loggedin_user_id() ) || bp_core_is_user_deleted( bp_loggedin_user_id() ) )
     517    if ( bp_is_user_inactive( bp_loggedin_user_id() ) )
    518518        return false;
    519519
Note: See TracChangeset for help on using the changeset viewer.