mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +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();
|
->save();
|
||||||
|
|
||||||
Cache::forget('profiles:private');
|
Cache::forget('profiles:private');
|
||||||
DeleteAccountPipeline::dispatch($user)->onQueue('high');
|
DeleteAccountPipeline::dispatch($user);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -222,7 +222,7 @@ trait AdminUserController
|
||||||
->save();
|
->save();
|
||||||
|
|
||||||
Cache::forget('profiles:private');
|
Cache::forget('profiles:private');
|
||||||
DeleteAccountPipeline::dispatch($user)->onQueue('high');
|
DeleteAccountPipeline::dispatch($user);
|
||||||
|
|
||||||
$msg = "Successfully deleted {$user->username}!";
|
$msg = "Successfully deleted {$user->username}!";
|
||||||
$request->session()->flash('status', $msg);
|
$request->session()->flash('status', $msg);
|
||||||
|
@ -294,4 +294,4 @@ trait AdminUserController
|
||||||
$request->session()->flash('status', $msg);
|
$request->session()->flash('status', $msg);
|
||||||
return redirect('/i/admin/users/modlogs/' . $user->id);
|
return redirect('/i/admin/users/modlogs/' . $user->id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue