Commit b171b68c authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Allow deleting of communities even when they have invite requests/offers

parent f09629aa
......@@ -43,6 +43,8 @@ if ($action == 'delete') {
delete_records('view_access_community', 'community', $id);
delete_records('community_member_invite', 'community', $id);
delete_records('community_member_request', 'community', $id);
delete_records('community_member', 'community', $id);
delete_records('community', 'id', $id);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment