Skip to:
Content

BuddyPress.org

Changes between Version 2 and Version 3 of Ticket #7677, comment 6


Ignore:
Timestamp:
01/31/2018 05:31:59 PM (4 years ago)
Author:
cyclic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7677, comment 6

    v2 v3  
    11I may have found how the admins were removed: as part of an integration with an external membership database, we call BP_Groups_Member->demote() on users when certain conditions are met. It doesn't appear to me that this tries to manage the fact that the group may be left admin-less afterwards. Did I miss where that's handled or is this the aforementioned separate bug?
    22
    3 groups_demote_member() works differently and doesn't actually modify the user if they're an admin.
     3groups_demote_member() doesn't modify the user if they're an admin.