mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update DeleteAccountPipeline queue
This commit is contained in:
parent
6b92c64851
commit
85794784d4
2 changed files with 3 additions and 3 deletions
|
@ -290,7 +290,7 @@ trait AdminReportController
|
|||
->save();
|
||||
|
||||
Cache::forget('profiles:private');
|
||||
DeleteAccountPipeline::dispatch($user)->onQueue('high');
|
||||
DeleteAccountPipeline::dispatch($user);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ trait AdminUserController
|
|||
->save();
|
||||
|
||||
Cache::forget('profiles:private');
|
||||
DeleteAccountPipeline::dispatch($user)->onQueue('high');
|
||||
DeleteAccountPipeline::dispatch($user);
|
||||
|
||||
$msg = "Successfully deleted {$user->username}!";
|
||||
$request->session()->flash('status', $msg);
|
||||
|
@ -294,4 +294,4 @@ trait AdminUserController
|
|||
$request->session()->flash('status', $msg);
|
||||
return redirect('/i/admin/users/modlogs/' . $user->id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue