Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/10/2013 11:45:54 PM (11 years ago)
Author:
johnjamesjacoby
Message:

In bbp_update_topic_walker() pass $last_active_time into bbp_update_forum() to avoid expensive recalculation of the forum's last active time. Props netweb. See #1925.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/topics/functions.php

    r5222 r5223  
    966966                    'last_reply_id'      => $reply_id,
    967967                    'last_active_id'     => $active_id,
    968                     'last_active_time'   => 0,
     968                    'last_active_time'   => $last_active_time,
    969969                    'last_active_status' => $topic_status
    970970                ) );
Note: See TracChangeset for help on using the changeset viewer.