aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin/friends
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/admin/friends')
-rw-r--r--client/src/app/admin/friends/friend-list/friend-list.component.ts13
1 files changed, 0 insertions, 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 {
22 ); 22 );
23 } 23 }
24 24
25 makeFriends() {
26 this.friendService.makeFriends().subscribe(
27 status => {
28 if (status === 409) {
29 alert('Already made friends!');
30 } else {
31 alert('Made friends!');
32 }
33 },
34 error => alert(error)
35 );
36 }
37
38 quitFriends() { 25 quitFriends() {
39 if (!confirm('Are you sure?')) return; 26 if (!confirm('Are you sure?')) return;
40 27