Update AccountController

pull/545/head
Daniel Supernault 2018-11-02 20:41:39 -06:00
rodzic 7a0375e07a
commit 9154b3d630
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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: