Commit 20ae54fc authored by hctom's avatar hctom Committed by amitaibu

Issue #2233365 by hctom: Static cache reset during OG role revoke.

parent 10647461
......@@ -3067,6 +3067,7 @@ function og_role_revoke($group_type, $gid, $uid, $rid) {
->condition('group_type', $group_type)
->condition('gid', $gid)
->execute();
og_invalidate_cache();
module_invoke_all('og_role_revoke', $group_type, $gid, $uid, $rid);
if (module_exists('rules')) {
......
Markdown is supported
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