mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: limit other accounts deletion to 50 accounts otherwise it'll feel too slow
This commit is contained in:
@@ -278,6 +278,8 @@ class Admin::UsersController < Admin::AdminController
|
||||
params.require(:exclude)
|
||||
params.require(:order)
|
||||
|
||||
params[:limit] = 50
|
||||
|
||||
user_destroyer = UserDestroyer.new(current_user)
|
||||
options = { delete_posts: true, block_email: true, block_urls: true, block_ip: true, delete_as_spammer: true }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user