From 96b0c2bf708a20c7e0fe1995223b0fdefbdd9f41 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 21 Aug 2016 11:36:43 +0200 Subject: Client: remove makeFriend from friend-list (in friend-add now) --- .../app/admin/friends/friend-list/friend-list.component.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/client/src/app/admin/friends/friend-list/friend-list.component.ts b/client/src/app/admin/friends/friend-list/friend-list.component.ts index aa92c1b1e..379d44c97 100644 --- a/client/src/app/admin/friends/friend-list/friend-list.component.ts +++ b/client/src/app/admin/friends/friend-list/friend-list.component.ts @@ -22,19 +22,6 @@ export class FriendListComponent implements OnInit { ); } - makeFriends() { - this.friendService.makeFriends().subscribe( - status => { - if (status === 409) { - alert('Already made friends!'); - } else { - alert('Made friends!'); - } - }, - error => alert(error) - ); - } - quitFriends() { if (!confirm('Are you sure?')) return; -- cgit v1.2.3