@since: bbPress (r2800)
Description
bbp_update_topic_walker()

Walks up the post_parent tree from the current topic_id, and updates the counts of forums above it. This calls a few internal functions that all run manual queries against the database to get their results. As such, this function can be costly to run but is necessary to keep everything accurate.

Source: bp-forums/topics/functions.php:980