[buddypress-trac] [BuddyPress Trac] #7477: BP_Groups_Group::group_exists() should be cached.
buddypress-trac
noreply at wordpress.org
Wed Mar 22 22:48:21 UTC 2017
#7477: BP_Groups_Group::group_exists() should be cached.
------------------------------------+--------------------
Reporter: dcavins | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: Groups | Version: 2.8.2
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+--------------------
Comment (by johnjamesjacoby):
Can we call the `get()` method internally here, and return the same
true/false based on whether a group is returned? I haven't looked, but
that might be easier than having another bit of MySQL to maintain.
What's the table_name parameter in there for. That's pretty odd (maybe
cool?) now that I see it like this.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7477#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list