[buddypress-trac] [BuddyPress Trac] #6158: allow removing membership activity from the criteria for marking a group "recently active"
buddypress-trac
noreply at wordpress.org
Tue Apr 28 15:50:51 UTC 2015
#6158: allow removing membership activity from the criteria for marking a group
"recently active"
--------------------------------+---------------------
Reporter: jreeve | Owner: r-a-y
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.3
Component: Component - Groups | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------------+---------------------
Changes (by r-a-y):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9815"]:
{{{
#!CommitTicketReference repository="" revision="9815"
Groups: Streamline last activity update meta calls.
This commit:
* Removes the hardcoded `'last_activity'` call in `groups_join_group()`
and uses the `groups_update_last_activity()` on the 'groups_join_group'
hook. This mirrors last activity update calls on other group actions
(leave, created).
* Removes the hardcoded `'last_activity'` call in `groups_create_group()`.
The last activity is already updated on the `'groups_created_group'` hook.
No need to update twice!
Props jreeve.
Fixes #6158.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6158#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list