aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+admin/follows/shared')
-rw-r--r--client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts6
-rw-r--r--client/src/app/+admin/follows/shared/redundancy.service.ts5
2 files changed, 2 insertions, 9 deletions
diff --git a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts
index ff4725e91..6d77a0eb4 100644
--- a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts
+++ b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts
@@ -1,7 +1,4 @@
1import { Component, Input } from '@angular/core' 1import { Component, Input } from '@angular/core'
2import { AuthService } from '@app/core'
3import { RestExtractor } from '@app/shared/rest'
4import { RedirectService } from '@app/core/routing/redirect.service'
5import { NotificationsService } from 'angular2-notifications' 2import { NotificationsService } from 'angular2-notifications'
6import { I18n } from '@ngx-translate/i18n-polyfill' 3import { I18n } from '@ngx-translate/i18n-polyfill'
7import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service' 4import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service'
@@ -16,9 +13,6 @@ export class RedundancyCheckboxComponent {
16 @Input() host: string 13 @Input() host: string
17 14
18 constructor ( 15 constructor (
19 private authService: AuthService,
20 private restExtractor: RestExtractor,
21 private redirectService: RedirectService,
22 private notificationsService: NotificationsService, 16 private notificationsService: NotificationsService,
23 private redundancyService: RedundancyService, 17 private redundancyService: RedundancyService,
24 private i18n: I18n 18 private i18n: I18n
diff --git a/client/src/app/+admin/follows/shared/redundancy.service.ts b/client/src/app/+admin/follows/shared/redundancy.service.ts
index 96b29faab..87ae01c04 100644
--- a/client/src/app/+admin/follows/shared/redundancy.service.ts
+++ b/client/src/app/+admin/follows/shared/redundancy.service.ts
@@ -1,7 +1,7 @@
1import { catchError, map } from 'rxjs/operators' 1import { catchError, map } from 'rxjs/operators'
2import { HttpClient } from '@angular/common/http' 2import { HttpClient } from '@angular/common/http'
3import { Injectable } from '@angular/core' 3import { Injectable } from '@angular/core'
4import { RestExtractor, RestService } from '@app/shared' 4import { RestExtractor } from '@app/shared'
5import { environment } from '../../../../environments/environment' 5import { environment } from '../../../../environments/environment'
6 6
7@Injectable() 7@Injectable()
@@ -10,8 +10,7 @@ export class RedundancyService {
10 10
11 constructor ( 11 constructor (
12 private authHttp: HttpClient, 12 private authHttp: HttpClient,
13 private restExtractor: RestExtractor, 13 private restExtractor: RestExtractor
14 private restService: RestService
15 ) { } 14 ) { }
16 15
17 updateRedundancy (host: string, redundancyAllowed: boolean) { 16 updateRedundancy (host: string, redundancyAllowed: boolean) {