mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-27 00:33:17 +00:00
Update AccountController
This commit is contained in:
parent
7a0375e07a
commit
9154b3d630
1 changed files with 3 additions and 0 deletions
|
@ -224,6 +224,9 @@ class AccountController extends Controller
|
|||
$class = get_class($profile);
|
||||
$filterable['id'] = $profile->id;
|
||||
$filterable['type'] = $class;
|
||||
|
||||
Follower::whereProfileId($profile->id)->whereFollowingId($user->id)->delete();
|
||||
Notification::whereProfileId($user->id)->whereActorId($profile->id)->delete();
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue