Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/01/2011 11:21:59 PM (13 years ago)
Author:
djpaul
Message:

Second pass of Akismet support for the Activity component. See #3660

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-actions.php

    r5259 r5262  
    195195
    196196    // Is the current user allowed to spam items?
    197     if ( !BP_Akismet::user_can_mark_spam() )
     197    if ( !bp_activity_user_can_mark_spam() )
    198198        return false;
    199199
     
    210210
    211211    // Mark as spam
    212     $bp->activity->akismet->mark_as_spam( $activity );
     212    bp_activity_mark_as_spam( $activity );
    213213    $activity->save();
    214214
Note: See TracChangeset for help on using the changeset viewer.