kopia lustrzana https://github.com/pixelfed/pixelfed
Update ProfileMigrationController.php
rodzic
a7a7748ed9
commit
3001365025
|
@ -63,8 +63,12 @@ class ProfileMigrationController extends Controller
|
|||
AccountService::del($user->profile_id);
|
||||
|
||||
Bus::batch([
|
||||
new ProfileMigrationDeliverMoveActivityPipeline($migration, $user->profile, $newAccount),
|
||||
new ProfileMigrationMoveFollowersPipeline($user->profile_id, $newAccount->id),
|
||||
[
|
||||
new ProfileMigrationDeliverMoveActivityPipeline($migration, $user->profile, $newAccount),
|
||||
],
|
||||
[
|
||||
new ProfileMigrationMoveFollowersPipeline($user->profile_id, $newAccount->id),
|
||||
]
|
||||
])->onQueue('follow')->dispatch();
|
||||
|
||||
return redirect()->back()->with(['status' => 'Succesfully migrated account!']);
|
||||
|
|
Ładowanie…
Reference in New Issue