Permalink
Browse files

#371: Regenerate cache when mass deleting users.

  • Loading branch information...
franzliedke committed Mar 23, 2011
1 parent 7378efa commit bec93eb4f686cb7273d9929df5d525dae0583425
Showing with 6 additions and 0 deletions.
  1. +6 −0 admin_users.php
View
@@ -483,6 +483,12 @@
foreach ($user_ids as $user_id)
delete_avatar($user_id);
// Regenerate the users info cache
if (!defined('FORUM_CACHE_FUNCTIONS_LOADED'))
require PUN_ROOT.'include/cache.php';
generate_users_info_cache();
redirect('admin_users.php', $lang_admin_users['Users delete redirect']);
}

0 comments on commit bec93eb

Please sign in to comment.