Skip to:
Content

bbPress.org

Ticket #2368: 2368.01.patch

File 2368.01.patch, 719 bytes (added by r-a-y, 11 years ago)
  • includes/extend/buddypress/group.php

    class BBP_Forums_Group_Extension extends BP_Group_Extension { 
    10921092                        return; ?>
    10931093
    10941094                <input type="hidden" name="group-show-forum" id="group-show-forum" value="1" />
    1095        
     1095
    10961096        <?php
    10971097        }
    10981098
    class BBP_Forums_Group_Extension extends BP_Group_Extension { 
    13791379                // Set the item ID to the group ID so the activity item shows up in the group
    13801380                $args['item_id']           = $group->id;
    13811381
     1382                // Update the group's last activity
     1383                groups_update_last_activity( $group->id );
     1384
    13821385                return $args;
    13831386        }
    13841387}