diff -r 1e4b759da336 -r acb7e23b6ffa plugins/SpecialGroups.php --- a/plugins/SpecialGroups.php Sat Apr 26 17:25:28 2008 -0400 +++ b/plugins/SpecialGroups.php Sun May 04 21:57:48 2008 -0400 @@ -223,6 +223,9 @@ $members[] = $r; $db->free_result(); + // just added a user to the group, so regenerate the ranks cache + generate_ranks_cache(); + break; case 'del_users': foreach ( $members as $i => $member ) @@ -235,6 +238,9 @@ unset($members[$i]); } } + // regenerate the ranks cache + generate_ranks_cache(); + break; case 'pending': foreach ( $pending as $i => $member ) @@ -259,6 +265,9 @@ } } } + // memberships updated/changed, regenerate ranks cache + generate_ranks_cache(); + echo '